views:

27

answers:

1
+1  Q: 

Merging Assemblies

I m working on a project which contain about 17 projects in it, means 17 DLL's. i want to merge some assemblies together. after googling i found ILMerge . is Ilmerge good ? n how to use it? can anyone tell me ? i tried it but so many errors came when i try to run the .exe.

Anyone ?

A: 

You run ILMerge by first passing the "primary" assembly, and then all of the other assemblies. Use the /out option to specify the output assembly, and use the /targetplatform option to specify the .NET target version (and directory containing the reference assemblies, usually under C:\Program Files\Reference Assemblies\Microsoft\Framework).

More details are in the ILMerge.doc file installed along with ILMerge (usually at C:\Program Files\Microsoft\ILMerge\ILMerge.doc).

Stephen Cleary