Introduction
I saw the beautiful interface made by Tomer Shalev on the SourceForce Web site and thought I could rewrite it in a self-contained way. The original Tomer Shalev's Gilma is a front-end application to ILMerge
: Microsoft's command-line utility that can be used to merge multiple .NET assemblies into a single assembly. ILMerge
is freely available from Microsoft's Web site.
ILMerge
's license does allow commercial usage.
In my implementation, the snapshot of which you can see in the image above, I have referenced the ILMerge
executable directly in Visual Studio 2010.
Using the Code
The MSI file contained in the demo installs the application. .NET 4.0 Client profile and the 3.1 Installers are pre-requisites. In the source zip, the entire Visual Studio 201 project is contained.
The only thing to point out is the presence of the possibility to use a strong key in the preferred *.snk format to digitally sign the assembly.
Points of Interest
- The implementation is fairly trivial. The code is derived from the
ILMerging
interface help found on the Microsoft Web site. - Added support for file names Drag and Drop as suggested.
History
- Updated to contain the ZeroPeKind option checkbox
- This is version 3.0 considering 2.0 the one for .net 2.0 and 1.0 the one for .NET 1.1 in the Tomer Shalev SourceForce site (Added Drag and Drop Support for file names)