ILMergeAliases.

ILMerge(ICakeContext, FilePath, FilePath, IEnumerable<FilePath>) Method

Summary

Merges the specified assemblies.
Namespace
Cake.Common.Tools.ILMerge
Containing Type
ILMergeAliases

Syntax

[CakeMethodAlias]
public static void ILMerge(this ICakeContext context, FilePath outputFile, FilePath primaryAssembly, IEnumerable<FilePath> assemblyPaths)

Examples

var assemblyPaths = GetFiles("./**/Cake.*.dll");
ILMerge("./MergedCake.exe", "./Cake.exe", assemblyPaths);

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<T> The assembly paths.

Return Value

Type Description
void