MSBuild.ILMerge.Task 2.0.0-pre501
MSBuild ILMerge task allows you to use the famous ILMerge utility (ILMerge nuget package, see http://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.
No packages depend on MSBuild.ILMerge.Task.
- 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).
Any 0.0
- ilmerge (>= 3.0.29)
Version | Downloads | Last updated |
---|---|---|
2.0.0-pre501 | 1 | 30.10.2024 |
1.1.3 | 33 | 02.02.2024 |
1.0.5 | 4 | 05.08.2024 |