[Mono-list] Launching a Mono Apps on Ms.Net
Robert Jordan
robertj at gmx.net
Tue Oct 31 10:23:51 EST 2006
Andrus wrote:
>>> 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.
Robert
More information about the Mono-list
mailing list