BT

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

ILMerge: Combine Multiple .NET Assemblies Into a Single Executable

Bookmarks

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

Adoption
Style

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 (blogs.msdn.com/brada/archive/2004/0505/126934.aspx) 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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.