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

Ian Norton-Badrul Ian.Norton-Badrul at thales-esecurity.com
Sat Oct 31 11:29:51 EDT 2009


Make a copy of csc.exe called gmcs.exe? Or whatever the ms compiler is called

Ian

On 31 Oct 2009, at 10:11, "Ozgur Akgun" <ozgurakgun at gmail.com<mailto:ozgurakgun at gmail.com>> wrote:

And excuse me for throwing that question early in the discussion. I agree that that resulted slightly in a dismissal of the real question.

So is there any was to *force* MonoDevelop use MS compiler?

2009/10/30 Charlie Poole <<mailto:charlie at nunit.com>charlie at nunit.com<mailto:charlie at nunit.com>>
Hi Olivier,

> >  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...

Interesting... this is not something I've looked into much but now
that you mention it I recall some such thing as well.

However, I was mainly replying to Ozgur's apparent dismissal of
the OP's question. I don't want to just dismiss it - it led me
to realize that an easily interchangeable back end would be a good
feature in an IDE, something I'd not thought of before.

Charlie



_______________________________________________
Monodevelop-list mailing list
<mailto:Monodevelop-list at lists.ximian.com>Monodevelop-list at lists.ximian.com<mailto:Monodevelop-list at lists.ximian.com>
<http://lists.ximian.com/mailman/listinfo/monodevelop-list>http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
Ozgur Akgun
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com<mailto:Monodevelop-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/monodevelop-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20091031/f141b4ed/attachment-0001.html 


More information about the Monodevelop-list mailing list