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 settings returned by a configurator.
- Assembly
- Cake
.ExcelDnaPack .dll - Namespace
- Cake
.ExcelDnaPack - Containing Type
- ExcelDnaPackAliases
Syntax
public static void ExcelDnaPack(this ICakeContext context, Action<ExcelDnaPackSettings> configurator)
Examples
Enable interactive prompt to overwrite the output .xll file, if it already exists
ExcelDnaPack(settings => settings
.SetDnaFilePath("MyAddin.dna")
.PromptBeforeOverwrite()
);
// ...
Disable compression (LZMA) of resources (e.g. `/NoCompression`)
ExcelDnaPack(settings => settings
.SetDnaFilePath("MyAddin.dna")
.NoCompression()
);
// ...
Disable multi-threading to ensure deterministic order of packing (e.g. `/NoMultiThreading`)
ExcelDnaPack(settings => settings
.SetDnaFilePath("MyAddin.dna")
.NoMultiThreading()
);
// ...
The output path for the packed .xll file (e.g. `/O MyAddin-x86-packed.xll`)
ExcelDnaPack(settings => settings
.SetDnaFilePath("MyAddin.dna")
.SetOutputXllFilePath("MyAddin-x86-packed.xll")
);
// ...
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
configurator | Action |
The settings configurator. |
Return Value
Type | Description |
---|---|
void |