-
Notifications
You must be signed in to change notification settings - Fork 64
ILMerge
Henrik edited this page Aug 21, 2014
·
1 revision
ILMerge is a utility from Microsoft Research for merging multiple .NET assemblies into a single .NET assembly.
desc "Merge A & B into the Master assembly"
ilmerge :merge => [:build] do |cmd|
cmd.assemblies = FileList["wildcard/path/to/assemblies"]
cmd.out = "path/to/output/assembly"
end
A list of all input assemblies, including path, as an array or Rake FileList
.
assemblies = FileList["wildcard/path/to/assemblies"]
The name of the merged assembly, including path.
out = "path/to/output/assembly"
Set the target platform, we don't know the full list of allowed values.
target_platform = "v4"
Ilmerge supports it's own wildcard matching if you provide the /wildcard
switch and a glob-pattern in one of the assemblies
. However, we don't support that switch yet, so use Rake FileList
, which automatically expand to full paths (working around the need to support the wildcard switch, for now).
assembiles = FileList["wildcard/path/to/assemblies"]