Summary
Merges the specified assemblies.
- Namespace
- Cake
.Common .Tools .ILRepack - Containing Type
- ILRepackAliases
Syntax
[CakeMethodAlias]
public static void ILRepack(this ICakeContext context, FilePath outputFile, FilePath primaryAssembly, IEnumerable<FilePath> assemblyPaths, ILRepackSettings settings)
Examples
var assemblyPaths = GetFiles("./**/Cake.*.dll");
ILRepack(
"./MergedCake.exe",
"./Cake.exe",
assemblyPaths,
new ILRepackSettings { Internalize = true });
Attributes
Type | Description |
---|---|
Cake |
An attribute used to mark script method aliases. |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
outputFile | FilePath | The output file. |
primaryAssembly | FilePath | The primary assembly. |
assemblyPaths | IEnumerable |
The assembly paths. |
settings | ILRepackSettings | The settings. |
Return Value
Type | Description |
---|---|
void |