[Mono-list] Why does a dos prompt show?

Miguel de Icaza miguel at novell.com
Wed Jul 18 15:44:02 EDT 2007


>  
> When runing an application on the .net framework on windows it
> displays a dos prompt behind the application, the application was
> compiled on linux and uses gtk#, what have I to do in order to get
> windows to understand it as a windows application and not a console
> one?

You need to set the target to be "winexe" instead of "executable" in the
call to mcs/gmcs, like this:

	mcs -target:winexe ...

> 


More information about the Mono-list mailing list