This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ExcelDnaPack.
Summary
Run the ExcelDnaPack tool using the specified settings.
- Assembly
- Cake
.ExcelDnaPack .dll - Namespace
- Cake
.ExcelDnaPack - Containing Type
- ExcelDnaPackAliases
Syntax
public static void ExcelDnaPack(this ICakeContext context, ExcelDnaPackSettings settings)
Examples
Enable interactive prompt to overwrite the output .xll file, if it already exists
var settings = new ExcelDnaPackSettings
{
DnaFilePath = "MyAddin.dna",
PromptBeforeOverwrite = true,
};
ExcelDnaPack(settings);
// ...
Disable compression (LZMA) of resources (e.g. `/NoCompression`)
var settings = new ExcelDnaPackSettings
{
DnaFilePath = "MyAddin.dna",
NoCompression = true,
};
ExcelDnaPack(settings);
// ...
Disable multi-threading to ensure deterministic order of packing (e.g. `/NoMultiThreading`)
var settings = new ExcelDnaPackSettings
{
DnaFilePath = "MyAddin.dna",
NoMultiThreading = true,
};
ExcelDnaPack(settings);
// ...
The output path for the packed .xll file (e.g. `/O MyAddin-x86-packed.xll`)
var settings = new ExcelDnaPackSettings
{
DnaFilePath = "MyAddin.dna",
OutputXllFilePath = "MyAddin-x86-packed.xll",
};
ExcelDnaPack(settings);
// ...
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | ExcelDnaPackSettings | The settings. |
Return Value
Type | Description |
---|---|
void |