[Mono-dev] C# scripting

Miguel de Icaza miguel at novell.com
Wed May 6 19:48:14 EDT 2009


Hello,

> > Does anyone know how to reference MONO and use the Mono.CSharp namespace
> > from within a .NET c# project?
> 
> Sadly, this isn't possible, as Mono.CSharp requires use of mono's
> runtime, not the .NET runtime.  There is ongoing work to remove this
> restriction, but I don't know when it will be complete.  Work is part of
> the "Replace all SRE-based compilers with the new compiler" currently
> targeted for Mono 2.8; see:
> 
>         http://www.mono-project.com/Roadmap

Just a small update:

If you do not mind just having access to the C# 1.0 compiler as opposed
to the 2.0 one, the library will work, you still need to build it
yourself and use MS_COMPATIBLE, but I believe most things would work.

But like Jonathan said, we are making progress to drop the SRE
dependency that keeps us Mono-only for now.

Miguel



More information about the Mono-devel-list mailing list