Click here to Skip to main content
Click here to Skip to main content

Gilma - GUI for the ILMerge Application Revised for .NET 4.0

, 13 Feb 2013 CPOL
Rate this:
Please Sign up or sign in to vote.
An article on a GUI to Microsoft ILMerge Program
Screenshot - Article.gif

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)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Tuscano
Engineer
Italy Italy
No Biography provided

Comments and Discussions

 
QuestionHow to use it PinmemberMember 110501554-Sep-14 23:55 
GeneralMy vote of 2 PinmemberElaheh Ordoni26-Jul-14 0:56 
BugError PinmemberNicke Da Silva Manarin27-Jan-14 12:05 
QuestionConsider updating to 4.0, source is flagging mising assemblies Pinmemberwknopf17-Oct-11 20:02 
GeneralMy vote of 4 PinmemberSergio Andrés Gutiérrez Rojas11-Oct-11 22:01 
GeneralQuestion about errors PinmemberCodeMasterMike24-Feb-09 21:20 
Hi!
 
I was just gonna ask, because it seems I cant merge any DLL's at all.
Ive tried my own and random DLL's located on my computer.
Now, I dont think its any issue with the application since its working for other people.
 
Error Msg: "Could not load assembly from the location 'c:\......'. Skipping and processing rest of arguments"
 
I cant find any answer or reason to this error message, more than it doesnt accept the DLL.
But I have tried so many different ones, so it would be strange if all DLL's on my computer is not
acceptable.
 
So I thought it could be I am going at it all in the wrong way when trying to merge files.
So I was just wondering if there is a simple step-by-step instructions to this application?
I've not found any for ILMerge except how to write the inparameters.
 
What confuses me, is couple of things...
Does it matter which DLL files I use as Primary Assembly, or do I have to do it in a certain way?
I write in a DLL name as output, does it need to exist, or will it be created automaticly?
 
What I wanted to do, is to merge 2-3 DLL files into a already created DLL file.
I set a existing DLL file (which I want to have as the only one) or I just put in a new name.
I then put in one of the DLL's in the Primary Assembly, and add the second one to the Other Assemblies.
 
I dont use strong key, and I have target type as DLL. When clicking the merge button, the error above
comes up. Same issue if I try to merge it into a *.exe file.
GeneralVS2008 Add_In Pinmembertuscano20-Nov-08 4:17 
GeneralYou know what would be really nice... Pinmemberchaiguy133714-Nov-08 14:15 
GeneralAha! Pinmemberchaiguy133714-Nov-08 16:08 
GeneralSaving/Loading Configuration does not work Pinmembermasschel12-Nov-08 2:27 
GeneralRe: Saving/Loading Configuration does not work Pinmembermasschel12-Nov-08 2:29 
GeneralVery nice work!! Pinmembersykiemikey30-Aug-07 7:37 
QuestionMerge it with the sourceforge project! PinmemberSimone Busoli1-May-07 3:20 
GeneralScreenShot Pinmembernorm .net23-Apr-07 0:35 
General/zeroPeKind Pinmembernjdnjdnjdnjdnjd22-Apr-07 12:40 
GeneralRe: /zeroPeKind Pinmembertuscano23-Apr-07 0:19 
GeneralFound a bug Pinmembermrhaze10-Apr-07 22:19 
GeneralRe: Found a bug Pinmemberteejayem1-May-07 10:26 
GeneralAlso see... Pinmembercarbonbaseone27-Feb-07 5:18 
GeneralRe: Also see... PinmemberOleg Shilo27-Feb-07 12:39 
GeneralRe: Also see... Pinmembercarbonbaseone27-Feb-07 12:48 
GeneralRe: Also see... Pinmembertuscano27-Feb-07 22:21 
GeneralRe: Also see... Pinmembercarbonbaseone7-Mar-07 7:38 
GeneralRe: Also see... PinmemberOleg Shilo7-Mar-07 11:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 13 Feb 2013
Article Copyright 2007 by Tuscano
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid