I have a .net application with about 10 assemblies. It would be nice to have them all together as a single assembly. How do I do it?
I guess something like a jar fil
Using ILMerge is probably the simplest solution. However, ILMerge has the drawback that it changes the identity of referenced assemblies. As a consequence, you might run into issues with security or serialization.
An excellent blog post by Simone Busoli discusses the following options to merge assemblies into a single executable:
ILMerge is the tool you're looking for:
ILMerge
The documentation for ILMerge can be found here:
http://research.microsoft.com/en-us/people/mbarnett/ILMerge.aspx
Try ILMerge.
NuGet package here