Reputation: 351
I am using c# Desktop base application in Visual Studio 2008 which is zip maker so i want to make .exe file must run without installing it. So can anyone help me to do this?
I want to include all .dll file in that exe and want to run it without installing it.
Upvotes: 1
Views: 3155
Reputation: 2163
Click on Build!
The Exe is created in the "\bin\Debug"
Folder.
Copy the Exe From the "\bin\Debug"
Folder.
If more Dll's are present use IlMerge to pack all the dll and exe to one file.
An alternative to IlMerge is .NETZ
Use the new exe without installation!
Upvotes: 0
Reputation: 1321
As an alternative to ILMerge, you can package you DLLs as an embedded resource and load them on demand.
Upvotes: 0
Reputation: 2054
ILMerge allows you to package your dependent DLLs into your .exe file.
http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx
Upvotes: 2
Reputation: 28528
By default VS makes .exe file goto your project debug folder and use it.
Upvotes: 0