Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to merge a DLL into a .NET EXE? [duplicate]

Tags:

c#

.net

clr

I have a DLL that stores classes common to two applications. I'd like to keep my application limited to one EXE file and would like to see if I can somehow embed this DLL within my main EXE.

How can I embed the external DLL into my application? (if possible)

like image 428
makerofthings7 Avatar asked Jan 08 '11 00:01

makerofthings7


1 Answers

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en

ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and dlls alike. It comes with several options for controlling the processing and format of the output, see the accompanying documentation for details.

like image 186
Pauli Østerø Avatar answered Oct 05 '22 02:10

Pauli Østerø