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 file for Java applications.
Install with Nuget (selecting the correct default project in the Package Manager Console). It merges the all DLLs marked "Copy Local" = true and produces a merged . EXE (alongside the standard output, most of which is now not necessary) which is also compressed. This can then be used standalone.
ILRepack is a tool that allows you to merge multiple assemblies into a single assembly. This can be useful when you deploy an application that has a few dependencies. In this case, you can merge all the dll and the exe into a single exe file, so it's easier to deploy it. It's also useful if you create a NuGet package.
An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. Assemblies take the form of executable (.exe) or dynamic link library (. dll) files, and are the building blocks of . NET applications.
There are three types of assemblies: Private assemblies. Shared assemblies. Satellite assemblies.
Try ILMerge.
NuGet package here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With