[MonoDevelop] Can I use the Microsoft compilers with Monodevelop 2.2b2 on Windows?

Olivier Dagenais olivier.dagenais at gmail.com
Fri Oct 30 14:52:39 EDT 2009

>  Date: Fri, 30 Oct 2009 11:34:41 -0700
>  From: "Charlie Poole" <charlie at nunit.com>
>  Subject: Re: [MonoDevelop] Can I use the Microsoft compilers
>         withMonodevelop 2.2b2 on Windows?
>  To: "'Ozgur Akgun'" <ozgurakgun at gmail.com>,     "'richardtallent'"
>         <richard.tallent at gmail.com>
>  Cc: monodevelop-list at lists.ximian.com
>  Message-ID: <00df01ca598f$a59a51f0$6501a8c0 at ferrari>
>  Content-Type: text/plain; charset="us-ascii"
>  Of course they don't...
>  Next question: would it be a good thing for developers if they did?
>  Charlie

You may not be able to _easily_ switch between the Microsoft C#
compiler and the Mono C# compiler, but you _can_ create your own
.targets file (or inline the content inside your .csproj file) that
overrides the CoreCompile target in Microsoft.CSharp.targets and calls
whatever task you wish to (including a hypothetical mcs task).  The
former is pretty much what the Grasshopper C#-to-JVM bytecode
"compiler" does.  Come to think of it, I seem to recall someone
creating such an "mcs" MSBuild task.  Google is your friend.

The Visual Studio IDE itself might still use some Microsoft compiler
components for the auto-complete, refactoring, syntax highlighting or
error underlining, but that doesn't mean you are stuck generating your
binaries with the same compiler...

- Oli

More information about the Monodevelop-list mailing list