ILMerge.Tools.MSBuildToolTask is a simple MSBuild task that wraps the ILMerge.exe command-line tool. Unlike other ILMerge MSBuild tasks,ILMerge.Tools.MSBuildToolTask is decoupled from the ILMerge assembly which means it does not reference it nor does it load it in-process. Instead, it executes ILMerge from the command-line. This allows the ILMerge.Tools.MSBuildToolTask to be used with multiple versions of ILMerge without having to recompile or rebind ILMerge.
All features of ILMerge command-line interface are supported as a pass-through from this MSBuild task.
Install-Package ILMerge.Tools.MSBuildToolTask -Version 2.14.1208.49
dotnet add package ILMerge.Tools.MSBuildToolTask --version 2.14.1208.49
<PackageReference Include="ILMerge.Tools.MSBuildToolTask" Version="2.14.1208.49" />
paket add ILMerge.Tools.MSBuildToolTask --version 2.14.1208.49
The version of the ILMerge.Tools.MSBuildToolTask assembly and NuGet package reflects the latest version of ILMerge for which is was tested against, but this does not mean that you must only use it with that version of ILMerge. As long as the ocmmand-line interface of the version of ILMerge you are using is compatible with ILMerge.Tools.MSBuildToolTask and the options you choose to configure, it should work fine, even against future versions barring any breaking command-line interface changes or future options.
This package has no dependencies.