[Mono-devel-list] running mcs compiled apps with MS CLR

Todd Berman tberman at off.net
Fri Jun 3 00:37:32 EDT 2005


On Thu, 2005-06-02 at 20:15 -0700, Samuel Kaufman wrote:
> I can't answer your question, but I can tell you that mcs will take
> "-target:winexe" as an option.  If you hadn't noticed this, it may be
> helpful.
> 

All -target:winexe does, is that on win32, the application will start
w/o a console window. This also holds true for mcs compiled apps that
use -target:winexe.

> I'd be interested in an answer, too...
> 
> 2005/6/2, Kevin <kevin.veragoo at gmail.com>:
> > 
> > Hi all.
> >  
> >  Could someone explain to me why code compiled with mcs does not run with
> > the MS CLR.
> >  (without mono runtime)
> >  
> >  Based on my understanding, the CIL is standard and thus runtime engines
> > would not differentiate between one created with mcs and one created with
> > csc.
> >  

We build our app at work w/ mcs and use it on the .net CLR all the time.
In fact, while 95% of our development is done on linux, 95% of our
testing takes place on win32 w/o mono. This is a complex application
that uses gtk#, webservices, glade#, async operations, threadpools, etc,
etc.

So mcs compiled apps absolutely work on the .net CLR.

--Todd




More information about the Mono-devel-list mailing list