When you debug your application, it is already compiled. Either in release or debugging mode, it compiles nonetheless.Hi
I wonder how do I save my project as one single .exe file when im done with it? i mean so anyone can open the program... thx in advance
ok tyvmWhen you debug your application, it is already compiled. Either in release or debugging mode, it compiles nonetheless.
Open your Documents folder. Open the folder called "Visual Studio 200*" (* being the version). Open the folder called Projects, and open the folder named after your project. Open up the directory named bin, and then in either a folder called "release" (which is preferred for distribution) or "debug" you will find your application executable.
ok... what means OCD?Doesn't make a difference, I guess for OCD type of people select Release when its the final build and leave as debug while checking for problems in code. Either way I believe it compiles the same just to a different folder.
ok... what means OCD?![]()
ok tyvm for your helpActually, the release configuration has a few differences to debug. You will notice in the debug directory that there is some random files (like application.vshost.exe and so on). That is the controlled version of the program from within the IDE. In release, these files are not compiled with your application. There are probably a couple of optimizations used when compiling release mode making it fit for release.
Long story short, when releasing something, use the release configuration to build your program. This should be found next to the little green arrow to run your program if I'm not mistaken.

