Description
ILRepack is a tool that merges multiple .NET assemblies into a single assembly. It is a replacement for ILMerge and Mono.Merge. The README says ILMerge was closed-source, hard to customize, slow and resource-hungry, though it is now open source, and that Mono.Merge is deprecated and built on an old version of Mono.Cecil. ILRepack uses a lightly modified fork of the newer Cecil sources, version 0.11.5. You can get it from NuGet, or download the latest nupkg file directly and open it as a zip. It can also be installed as a dotnet tool, and then run with the ilrepack command. The console app uses the same syntax as ILMerge, and it can be used as a DLL too. The feature list covers PDB and MDB merging, attribute merging, XML documentation merging, App.config merging, internalizing types, delay signing, target platform selection and automatic renaming of internal types. Open items include crash testing, the remaining ILMerge features, and removing the Cecil fork. Building is done in Visual Studio 2022 or with msbuild.…
Highlights
- Merges .NET assemblies into one
- Same command syntax as ILMerge
- Installs as a dotnet tool
- Merges PDBs, XML docs and App.config
- Delay signing and type internalizing
Ratings & Reviews
No ratings yet
Be the first to rate Il Repack.
People also visit

.NET MCP Server
AI assistant access to .NET SDK for projects, packages, building, testing
Il Repack FAQ
What is ILRepack?
A tool that merges multiple .NET assemblies into a single assembly. It is a replacement for ILMerge.
How do I install it?
Get it from NuGet, or install it as a dotnet tool and run it with the ilrepack command.
Is the syntax the same as ILMerge?
Yes. The console app uses the same syntax as ILMerge, and it can also be used as a DLL.
How do I build it?
Build it directly in Visual Studio 2022, or with msbuild.
What are the best Il Repack alternatives?
Popular alternatives to Il Repack include AvalonEdit, OpenSilver and WinMerge. See all Il Repack alternatives





