ILMerge Module
Contains task a task which allows to merge .NET assemblies with ILMerge.
Example
Target.create "ILMerge" (fun _ ->
let target = !!"./bin/Release/*.exe" |> Seq.head
let out = "./bin" @@ (Path.GetFileName target)
ILMerge.run
{ ILMerge.Params.Create() with DebugInfo = true
TargetKind = ILMerge.TargetKind.Exe
Internalize = ILMerge.InternalizeTypes.Internalize
Libraries =
Seq.concat
[ !!"./bin/Release/Mono.C*.dll"
!!"./bin/Release/Newton*.dll" ]
AttributeFile = target } out target)
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
ILMerge.run parameters outputFile primaryAssembly
Parameters:
Params
-
An ILMerge.Params value with your required settings.
outputFile : string
-
Output file path for the merged assembly.
primaryAssembly : string
-
The assembly you want ILMerge to consider as the primary.
|
|