MSBuild.ILMerge.Task 2.0.0-pre501

This is a prerelease version of MSBuild.ILMerge.Task.
dotnet add package MSBuild.ILMerge.Task --version 2.0.0-pre501                
NuGet\Install-Package MSBuild.ILMerge.Task -Version 2.0.0-pre501                
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="2.0.0-pre501" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuild.ILMerge.Task --version 2.0.0-pre501                
#r "nuget: MSBuild.ILMerge.Task, 2.0.0-pre501"                
#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=2.0.0-pre501&prerelease

// Install MSBuild.ILMerge.Task as a Cake Tool
#tool nuget:?package=MSBuild.ILMerge.Task&version=2.0.0-pre501&prerelease                

MSBuild ILMerge task allows you to use the famous ILMerge utility (ILMerge nuget package, see https://research.microsoft.com/en-us/people/mbarnett/ILMerge.aspx) in automated builds and/or Visual Studio 2019 projects.
It is similar to the ILMerge.MSBuild.Tasks nuget package, originally published by neoeinstein@gmail.com (that seems to be abandoned) with the following additional features:

- version 2.0 is able to merge packages referenced from SDK-style projects;
- 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 customization;
- It attempts to guess the reasonable merge order for the included assemblies and lets you to fine-tune 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.

NB: to use non-default configuration, copy ILMerge.props from package content folder to your project and add <Import Project="ILMerge.props" /> to the .csproj file.

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.Gaia

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

Qubit.Xrm.Framework.Package

Packaging solution for CRM 365 Customizations

AdvancedPlugin

A helpful set of base plugins and extensions for them.

Bizapp.CRMDynamicsPlugin

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
NYAN-x-CAT/AsyncRAT-C-Sharp
Open-Source Remote Administration Tool For Windows C# (RAT)
nea/MarkdownViewerPlusPlus
A Notepad++ Plugin to view a Markdown file rendered on-the-fly
scottlerch/HostsFileEditor
Easily edit and manage the hosts file for Windows
qwqdanchun/DcRat
A simple remote tool in C#.
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
Version Downloads Last updated
2.0.0-pre501 17,399 8/10/2021
1.1.3 459,551 2/13/2020
1.0.5 632,519 7/11/2016

- To be used with SDK-style projects.
- ILMerge.props should be included in the project explicitly;
- Supports (and requires) ILMerge 3.0.29+
- Supports transitive merge and all ILMerge command-line parameters (including InternalizeExcludeFile).