Click here to Skip to main content
15,886,584 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi,

I've created a Windows Forms Application in Visual Studio 2008, .NET 3.5.
Now I want to finalize my project, i.e. to create a single .exe file which I can give to someone and he will be able to run it on his computer.

In my project files I found bin/Debug directory where I see a .exe file.
Can I just use this file as is, or I am missing some important finalizing procedure ?

Thanks !
Posted

If you are connecting to a database, you will need to provide a connection to the database when the other user runs your exe.
 
Share this answer
 
If you're talking about merging dll files and exe files into one executable, google "ilmerge", and you'll be off and running/. It can also merge app.config files.
 
Share this answer
 
So long as you have not used any external dll files or added a .config file to your project then yes you can just use the exe file.
However if you change the build type in VS from debug to release you should get a slightly smaller file which does not have any debug information in it, but it's up to you which one you send out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900