user3496745
user3496745

Reputation: 43

Put a dll inside a dll in C#

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?

Upvotes: 0

Views: 145

Answers (1)

cremor
cremor

Reputation: 6886

Embedding as a resource and ILMerge was already mentioned in the comments. I'd like to give another alternative: ILRepack. It works like ILMerge but unlike ILMerge is still actively developed.

Upvotes: 1

Related Questions