01-15-2012, 01:10 AM
(01-15-2012, 01:02 AM)RDCA Wrote: Actually it is because he is publishing it, instead of just sending him the right file:
C:\Users\{UserName}\Documents\Visual Studio 2010\Projects\{ProjectName}\{ProjectName}\bin\Debug
OP just debug once (F5), then navigate to this and send him the .exe - executable file to your friend.
Example: My username for my computer is RDCA, and my project is called Contra
C:\Users\RDCA\Documents\Visual Studio 2010\Projects\Contra\Contra\bin\Debug
Quote:C:\Users\{UserName}\Documents\Visual Studio 2010\Projects\{ProjectName}\{ProjectName}\bin\Debug
!!
No no. I would suggest NEVER ever getting into that bad habit. Make absolute sure that your project is in Release configuration when you want to use the compiled executable. Always.
If you ever begin a language like C++ you'll never get away with that. It's very very bad to do.