Trying out ILMerge

Posted by Carl Berg on Tue, Sep 18, 2012 | Tags ilmerge

I recently tried out ILMerge in order to merge a few assemblies into a single executable console application.

ILMerge.exe /out:MergedApp.exe App.exe AnAssembly.dll AnotherAssembly.dll

This makes it easier to deploy an application as a stand alone file. I don’t think i would bother using this for a web application, but it’s pretty handy for a forms application or a console application.

I would recommend getting ILMerge through nuget, but it can also be downloaded through chocolately or as an msi file.