[Mono-list] Launching a Mono Apps on Ms.Net

Sebastien Pouliot sebastien.pouliot at gmail.com
Tue Oct 31 09:14:57 EST 2006


On Tue, 2006-10-31 at 15:00 +0100, Robert Jordan wrote:
> xiii29 at free.fr wrote:
> > 
> > Hi,
> > 
> > I've developed a SWF Apps under Mono and i've tryed it on windows. Everythings
> > looks nearly fine excepts some little stuff.
> > 
> > One off them is annoying ...
> > When I launch my apps under Mono/Linux, no console windows ...
> > When I launch my apps under .Net/Windows, lauch a console then the windows ...
> 
> 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).
-- 
Sebastien Pouliot  <sebastien at ximian.com>
Blog: http://pages.infinit.net/ctech/



More information about the Mono-list mailing list