i have a simple app in c#. i would like the DLL to be “inside” the exe file. how do i do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ILMerge does exactly what you are looking for
the page is a little misleading, ILMerge works on V3 and V4 assemblies per its actual webpage
To answer how do you use it from your question in the other answer
So
ilmerge /out:Combined.exe mainFile.exe otherDll.dllfor your case as most of the defaults should be fine