MSBuild.ILMerge.Task 1.0.3-rc2

New users: please use 1.0.5-rc1 for now.
MS Dynamics CRM users: merging in Microsoft.Xrm.Sdk may crash your plugin, exclude it from the merge with Copy Local=false.

MSBuild ILMerge task allows you to use the famous ILMerge utility (ILMerge nuget package, see in automated builds and/or Visual Studio 2012 projects.
     It is similar to the ILMerge.MSBuild.Tasks nuget package, originally published by (that seems to be abandoned) with the following additional features:
     - It supports all the latest ILMerge options;
     - ILMerge.exe is discovered as package dependency;
     - The .targets file overrides the CopyFilesToOutputDirectory build target, leaving the AfterBuild target free for further customizaton;
     - It attempts to guess the reasonable merge order for the included assemblies and lets you to finetune it with a configuration file.

     ILMerge.exe is not included into this package because its license prohibits redistribution. Referencing it as package dependency and loading it from its package location ensures that the latest ILMerge version is always used.

This is a prerelease version of MSBuild.ILMerge.Task.
There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated or shouldn't be used anymore.
Install-Package MSBuild.ILMerge.Task -Version 1.0.3-rc2
dotnet add package MSBuild.ILMerge.Task --version 1.0.3-rc2
<PackageReference Include="MSBuild.ILMerge.Task" Version="1.0.3-rc2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuild.ILMerge.Task --version 1.0.3-rc2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Updated to look for ILMerge also in the tools subfolder of its package. Support now ILMergeTransitive flag for transitive merge.

Showing the top 6 GitHub repositories that depend on MSBuild.ILMerge.Task:

Repository Stars
A Dependency Injection/Inversion of Control tool for .NET
A Notepad++ Plugin to view a Markdown file rendered on-the-fly
Easily edit and manage the hosts file for Windows
Open-Source Remote Administration Tool For Windows C# (RAT)
MetaTrader API
New Beanfun OTP login

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.1.3 23 2/13/2020
1.0.5 284,923 7/11/2016