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

View: New views
10 Messages — Rating Filter:   Alert me  

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

by richardtallent :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I like the MonoDevelop IDE better than SharpDevelop or VS Express 2008, but I can't find an option to use the Microsoft compiler (vbc.exe) when building rather than the Mono compiler (vbcnc.exe).

I'm not convinced yet that I want to use the Mono compiler, nor am I sure that the newest VB.NET/C# features are even available via the Mono compiler. One step at a time, and right now I'm just trying to get my feet wet with the IDE.

Is this option hidden somewhere, or is MonoDevelop only capable of building with the Mono compilers?

Re: Can I use the Microsoft compilers with Monodevelop 2.2b2 on Windows?

by Ozgur Akgun :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just wondering, does VS let its users choose Mono compiler instead of MS compiler?

2009/10/28 richardtallent <richard.tallent@...>

I like the MonoDevelop IDE better than SharpDevelop or VS Express 2008, but I
can't find an option to use the Microsoft compiler (vbc.exe) when building
rather than the Mono compiler (vbcnc.exe).

I'm not convinced yet that I want to use the Mono compiler, nor am I sure
that the newest VB.NET/C# features are even available via the Mono compiler.
One step at a time, and right now I'm just trying to get my feet wet with
the IDE.

Is this option hidden somewhere, or is MonoDevelop only capable of building
with the Mono compilers?

--
View this message in context: http://www.nabble.com/Can-I-use-the-Microsoft-compilers-with-Monodevelop-2.2b2-on-Windows--tp26103200p26103200.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
Ozgur Akgun

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: Can I use the Microsoft compilers withMonodevelop 2.2b2 on Windows?

by Charlie Poole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Of course they don't...
 
Next question: would it be a good thing for developers if they did?
 
Charlie


From: monodevelop-list-bounces@... [mailto:monodevelop-list-bounces@...] On Behalf Of Ozgur Akgun
Sent: Friday, October 30, 2009 11:11 AM
To: richardtallent
Cc: monodevelop-list@...
Subject: Re: [MonoDevelop] Can I use the Microsoft compilers withMonodevelop 2.2b2 on Windows?

Just wondering, does VS let its users choose Mono compiler instead of MS compiler?

2009/10/28 richardtallent <richard.tallent@...>

I like the MonoDevelop IDE better than SharpDevelop or VS Express 2008, but I
can't find an option to use the Microsoft compiler (vbc.exe) when building
rather than the Mono compiler (vbcnc.exe).

I'm not convinced yet that I want to use the Mono compiler, nor am I sure
that the newest VB.NET/C# features are even available via the Mono compiler.
One step at a time, and right now I'm just trying to get my feet wet with
the IDE.

Is this option hidden somewhere, or is MonoDevelop only capable of building
with the Mono compilers?

--
View this message in context: http://www.nabble.com/Can-I-use-the-Microsoft-compilers-with-Monodevelop-2.2b2-on-Windows--tp26103200p26103200.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
Ozgur Akgun

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Parent Message unknown Re: Can I use the Microsoft compilers with Monodevelop 2.2b2 on Windows?

by Olivier Dagenais-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>  Date: Fri, 30 Oct 2009 11:34:41 -0700
>  From: "Charlie Poole" <charlie@...>
>  Subject: Re: [MonoDevelop] Can I use the Microsoft compilers
>         withMonodevelop 2.2b2 on Windows?
>  To: "'Ozgur Akgun'" <ozgurakgun@...>,     "'richardtallent'"
>         <richard.tallent@...>
>  Cc: monodevelop-list@...
>  Message-ID: <00df01ca598f$a59a51f0$6501a8c0@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...

Cheers,
- Oli
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: Can I use the Microsoft compilers with Monodevelop 2.2b2 on Windows?

by Ian Norton-Badrul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you use makefiles there is no reason you can't use a compiler other than gmcs. The same in vstudio if you use nmake. This also holds true for c or c++ projects

Ian

On 30 Oct 2009, at 18:11, "Ozgur Akgun" <ozgurakgun@...> wrote:

Just wondering, does VS let its users choose Mono compiler instead of MS compiler?

2009/10/28 richardtallent <richard.tallent@...>

I like the MonoDevelop IDE better than SharpDevelop or VS Express 2008, but I
can't find an option to use the Microsoft compiler (vbc.exe) when building
rather than the Mono compiler (vbcnc.exe).

I'm not convinced yet that I want to use the Mono compiler, nor am I sure
that the newest VB.NET/C# features are even available via the Mono compiler.
One step at a time, and right now I'm just trying to get my feet wet with
the IDE.

Is this option hidden somewhere, or is MonoDevelop only capable of building
with the Mono compilers?

--
View this message in context: http://www.nabble.com/Can-I-use-the-Microsoft-compilers-with-Monodevelop-2.2b2-on-Windows--tp26103200p26103200.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
Ozgur Akgun
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: Can I use the Microsoft compilers withMonodevelop 2.2b2 on Windows?

by Charlie Poole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: Can I use the Microsoft compilers withMonodevelop 2.2b2 on Windows?

by Ozgur Akgun :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <charlie@...>
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
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
Ozgur Akgun

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: Can I use the Microsoft compilers withMonodevelop 2.2b2 on Windows?

by Tom Spink :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/31 Ozgur Akgun <ozgurakgun@...>:

> 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 <charlie@...>
>>
>> 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
>> Monodevelop-list@...
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
> --
> Ozgur Akgun
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@...
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>

Perhaps we should look at this from another angle, and address the
concerns the OP has with the compilers.


--
Tom Spink
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: Can I use the Microsoft compilers withMonodevelop 2.2b2 on Windows?

by Ian Norton-Badrul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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 <charlie@...>
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
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
Ozgur Akgun
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

Re: Can I use the Microsoft compilers withMonodevelop 2.2b2 on Windows?

by Bojan Rajkovic-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Oct 31, 2009 at 11:29 AM, Ian Norton-Badrul <Ian.Norton-Badrul@...> wrote:
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@...> 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 <charlie@...charlie@...>
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
Monodevelop-list@...Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list



--
Ozgur Akgun
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list


Hi y'all,

As far as I'm aware, MonoDevelop on Windows uses the .NET compilers for everything, or at least it should, unless you tell it to run on top of Mono. If it doesn't, that's probably a bug, and should be reported as such.

Richard, to settle your mind, the C# compiler fully supports all of C# up to and including 3.5. I can't speak to the state of the VB compiler, but I don't believe it's as good.

B.R.

_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list