[Mono-list] Launching a Mono Apps on Ms.Net
robertj at gmx.net
Tue Oct 31 10:23:51 EST 2006
>>> Use the appropriate target:
>>> mcs /target:winexe ...
>> It's a common question and a great opportunity for someone to contribute
>> a (very simple) rule for Gendarme ;-)
>> E.g. Any .EXE that reference System.Windows.Forms.dll should have a
>> winexe target (or we issue a warning).
> mono mywinexetargetapplication.exe
> shows flashing console window when issued from icon in Windows.
> How to avoid this flashing window ?
The initial console cannot be suppressed. It it shown because
mono.exe is a native Win32 console application.
This could be fixed by providing monow.exe, compiled
for the native Win32 winexec target.
More information about the Mono-list