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 ?
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.
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.
If you are connecting to a database, you will need to provide a connection to the database when the other user runs your exe.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)