Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is there a way to prevent the command prompt from opening in windows when launching the game (via double clicking)?

share|improve this question
1  
by dosbox you mean the black window similar to "command prompt", right? since dosbox is name of another application which seems to be completely unrelated to the topic! –  Ali.S Aug 8 '12 at 3:01
    
Yes, by dosbox, I mean the command prompt. Thanks for the clarification. –  void_null Aug 8 '12 at 5:06
    
Have you tried building your application in release mode? –  Vaughan Hilts Aug 8 '12 at 15:39

1 Answer 1

I am assuming you are using Visual Studio 2010.

Right click on your project (not solution), go to the "Application" tab, under "Output type" change that to "Windows Application"

This is what I do when I want to see a command prompt when running an XNA application.

share|improve this answer
    
Thanks Luis, this did the trick. For those who use MonoDevelop, its equivalent is Executable with GUI –  void_null Aug 9 '12 at 1:17
1  
@void_null, Mark as answer :) –  Luis Estrada Aug 9 '12 at 13:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.