ILRepackAliases.

ILRepack(ICakeContext, FilePath, FilePath, IEnumerable<FilePath>, ILRepackSettings) Method

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
CakeMethodAliasAttribute 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<FilePath> The assembly paths.
settings ILRepackSettings The settings.

Return Value

Type Description
void