MSBuild.ILMerge.Task 1.1.3

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MSBuild.ILMerge.Task --version 1.1.3
NuGet\Install-Package MSBuild.ILMerge.Task -Version 1.1.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MSBuild.ILMerge.Task" Version="1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuild.ILMerge.Task --version 1.1.3
#r "nuget: MSBuild.ILMerge.Task, 1.1.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MSBuild.ILMerge.Task as a Cake Addin
#addin nuget:?package=MSBuild.ILMerge.Task&version=1.1.3

// Install MSBuild.ILMerge.Task as a Cake Tool
#tool nuget:?package=MSBuild.ILMerge.Task&version=1.1.3

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on MSBuild.ILMerge.Task:

Package Downloads

ART&MIS Base, Comon, Document, Helper and Extensions


Packaging solution for CRM 365 Customizations


A helpful set of base plugins and extensions for them.


Lib para Criação de Plugins para o Dynamics CRM 365

GitHub repositories (25)

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

Repository Stars
Open-Source Remote Administration Tool For Windows C# (RAT)
A Notepad++ Plugin to view a Markdown file rendered on-the-fly
Easily edit and manage the hosts file for Windows
A Dependency Injection/Inversion of Control tool for .NET
A simple remote tool in C#.
Version Downloads Last updated
2.0.0-pre501 10,802 8/10/2021
1.1.3 377,516 2/13/2020
1.0.5 607,025 7/11/2016

- Supports (and requires) ILMerge 3.0.29+
- Safe to use with VS2019/Roslyn.
- Supports transitive merge and all ILMerge command-line parameters (including InternalizeExcludeFile).