Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News ILMerge: Combine Multiple .NET Assemblies Into a Single Executable

ILMerge: Combine Multiple .NET Assemblies Into a Single Executable


ILMerge allows developers to combine several .NET Assemblies into a single executable. The most obvious advantage of this is in deployment scenarios where the ability to copy a single file is preferable.

ILMerge is a Microsoft Research project dating back to 2004. Unlike most MS Research projects, this one is licensed for commercial use.

ILMerge can be used on all versions of the framework. PDB files can be merged, but only for 2.0 assemblies. The ASP.Net utility, aspnet_merge, is based on this project.

This release focused mainly on bug fixes, especially for generics.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Would improved performance be another advantage?

    by Eric Smith,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I had just been wondering yesterday if many small assemblies or fewer large assemblies was a better approach. I saw a blog posting by Brad Abrams ( that indicates that fewer large assemblies should perform better. Presumably those gains could be had by using ILMerge even if it were convenient to develop using smaller assemblies.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p