ILRepackAliases.

ILRepack(ICakeContext, FilePath, FilePath, IEnumerable<FilePath>) 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)

Examples

var assemblyPaths = GetFiles("./**/Cake.*.dll");
ILRepack("./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<FilePath> The assembly paths.

Return Value

Type Description
void