Convert .Net 1.1 to 2.0 with ILMerge.exe Home

Convert .Net 1.1 to 2.0 with ILMerge.exe
24/01/2006 posted by Kevin S
Ok, So you have a .Net 1.0 or 1.1 component that you want to use with your brand new .Net 2.0 Framework.
This is a quick howto on converting between 1.1 and 2.0 frameworks.

Microsoft have released a Tool called ILMerge. Effectively it allow you to combine or merge, lots of individual assemblies into one complete assembly. Each component is decompiled and then recompiled into a single assembly.

There is a catch though, ILMerge requires the 2.0 framework and the final assembly is 2.0 only, however we can use this to our advantage.

Lets say you have a 1.1 framework assembly myassembly.dll, simply call:

ILMerge.exe myassembly.dll /OUT:newassembly.dll

newassembly.dll is now 2.0 framework compliant Hurrah!