2
\$\begingroup\$

I am just finishing up my first game for the One Game A Month challenge which I wrote with the current MonoGame framework in Xamarin for Windows. I built the program in release mode, but running the executable produces a console window besides the game window. The console stays empty unless I deliberately cause an error to be logged, say by removing a required resource.

How can I get rid of this extraneous console window?

I looked through the project settings, but saw nothing alluding to removing the console window...

\$\endgroup\$
2
  • 2
    \$\begingroup\$ Nevermind. Found that changing the build settings to Executable with GUI from just Executable has solved the issue. \$\endgroup\$ Jan 29, 2014 at 17:09
  • 3
    \$\begingroup\$ You should answer your own question then =) \$\endgroup\$
    – Grey
    Jan 29, 2014 at 17:23

2 Answers 2

2
\$\begingroup\$

Found that changing the build settings to Executable with GUI solved this problem.

\$\endgroup\$
1
\$\begingroup\$

Basically, change the configuration of Build "Console Application" to "Windows Application".

Config sample

\$\endgroup\$

You must log in to answer this question.

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