Info
Version: | 2.0.0-pre501 |
Author(s): | Alexander Nosenko |
Last Update: | Tuesday, August 10, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://dev.azure.com/Refactorius/MsBuild.ILMerge.Task |
NuGet Url: | https://www.nuget.org/packages/MSBuild.ILMerge.Task |
Install
Install-Package MSBuild.ILMerge.Task
dotnet add package MSBuild.ILMerge.Task
paket add MSBuild.ILMerge.Task
MSBuild.ILMerge.Task Download (Unzip the "nupkg" after downloading)
Dependencies
- ilmerge(>= 3.0.29)
Tags
It is similar to the ILMerge.MSBuild.Tasks nuget package, originally published by [email protected] (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.