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 _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
