-
Notifications
You must be signed in to change notification settings - Fork 15
ILMerge Location
Even though it is no required, it is strongly recommended that you install the ILMerge package before installing ILMerge.MSBuild.Task.
Installing it from Nuget:
Install-Package ilmerge
When ILMerge.MSBuild.Task is running it will try to locate the ILMerge executable in the following directories:
- Same location as the ILMerge.MSBuild.Task.dll.
- At the target directory.
- At the solution directory.
When looking into locations 1 and 2, it will look at the root directory and a "Tools" directory under the root. As for location 3 (Solution), it will look for a "Packages" folder and try to locate the corresponding ILMerge folder (created by Nuget Package Manager). If more than one is found it will retrieve the latest.
Even though very unlikely it is still possible. It this case you have to specify the ILMerge.exe location in the task configuration file. See the configuration file documentation for more details.