2
\$\begingroup\$

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

\$\endgroup\$
3
  • 1
    \$\begingroup\$ 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! \$\endgroup\$
    – Ali1S232
    Aug 8, 2012 at 3:01
  • \$\begingroup\$ Yes, by dosbox, I mean the command prompt. Thanks for the clarification. \$\endgroup\$
    – void_null
    Aug 8, 2012 at 5:06
  • \$\begingroup\$ Have you tried building your application in release mode? \$\endgroup\$ Aug 8, 2012 at 15:39

1 Answer 1

2
\$\begingroup\$

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.

\$\endgroup\$
2
  • \$\begingroup\$ Thanks Luis, this did the trick. For those who use MonoDevelop, its equivalent is Executable with GUI \$\endgroup\$
    – void_null
    Aug 9, 2012 at 1:17
  • 1
    \$\begingroup\$ @void_null, Mark as answer :) \$\endgroup\$ Aug 9, 2012 at 13:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .