ILRepack is meant at replacing ILMerge / Mono.Merge.
The former being closed-source, impossible to customize, slow, resource consuming and many more. The later being deprecated, unsupported, and based on an old version of Mono.Cecil.
Install-Package avostres.ILRepack -Version 2.1.1
dotnet add package avostres.ILRepack --version 2.1.1
<PackageReference Include="avostres.ILRepack" Version="2.1.1" />
paket add avostres.ILRepack --version 2.1.1
This package has no dependencies.