• Log in or sign up for an account here: https://www.sythe.org/login

How do I save a visual C# project as one single .exe file?

hampe-92

Forum Addict
Joined
Jul 10, 2008
Sythe Gold
0
Messages
328
How do I save a visual C# project as one single .exe file?
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
 
How do I save a visual C# project as one single .exe file?
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
When 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.
 
How do I save a visual C# project as one single .exe file?
When 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 tyvm :)

one more thing, you said either in the "Release" or "Debug" folder... whats the difrents? cause i only have one folder in the "Bin" folder, and its called "Debug".
 
How do I save a visual C# project as one single .exe file?
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.
 
How do I save a visual C# project as one single .exe file?
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?:p
 
How do I save a visual C# project as one single .exe file?
XD lolz okies thx
 
How do I save a visual C# project as one single .exe file?
Actually, 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.
 
How do I save a visual C# project as one single .exe file?
Actually, 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.
ok tyvm for your help:)
 
Runescape Gamblingrunescape gambling
Back
Top