I wonder whether there is in .NET something similar in Java JAR. I am building a plugin system that loads the plugins. It happens that a single plugins are referencing lot of external DLLs. All this files are not compact. I wonder if they can be packed or linked together into one DLL or one large package to achieve safer distribution.
Share
The closest analogue to a JAR is the assembly. An assembly contains a manifest, describing the contents. There is nothing built in that will package several DLLs into one.
However, for combining assemblies, you can look at ILMERGE.
For building a plugin architecture, I suggest looking at MEF.