[Mono-devel-list] Mono in Windows
Francisco T. Martinez
martinf at mfconsulting.com
Thu Oct 21 16:49:26 EDT 2004
There are a couple of factors that will make it difficult to bypass that.
The Mono runtime piece that users use to launch their application is
mono.bat (which wraps mono.exe and sets the environment) will typically
open a console. That is just what batch files do in Win32 (both *.bat
and *.cmd).
Finally, you could compile your application using csc or our mcs and use
the option -target:winex to mitigate a starting Windows console.
However, if your application does calls to System.Console.WriteLine("")
these will not be seen because stdout will not be visible for your app
(again mono.exe stdout and stderr will be seen printed on the open console).
If your application is a 100% pure Gtk# application you could recompile
the code using .NET Framework SDK and Gtk# (no Mono) and using the
-target:winexe option it will look like other traditional Windows
applications
Paco
A.J. wrote:
>While we are on this subject. Is there anyway to get rid of the command
>window when running a Mono app in Windows??
>
>Thanks,
>A.J. Weinzettel
>
>
>
More information about the Mono-devel-list
mailing list