I'm trying to make a C# dll that includes all its dependencies in itself. So that the dll, which is actaully a module for another C# program, can be only one file. So is there a way to put a dll inside a dll and then make add a reference to this dll?
Asked
Active
Viewed 135 times
0
-
possible duplicate of [Embedding one dll inside another as an embedded resource and then calling it from my code](http://stackoverflow.com/questions/96732/embedding-one-dll-inside-another-as-an-embedded-resource-and-then-calling-it-fro) – Yurii Apr 14 '14 at 06:03
-
thx (mandatory chars...) – user3496745 Apr 14 '14 at 06:07
-
An alternative approach is to use ILMerge. It creates one dll from a set of assemblies and can be applied to about any application without code changes. – PMF Apr 14 '14 at 06:14