Why is MonoDevelop compiled with csc.exe?

I am trying to use MonoDevelop (2.4 beta 1) on Windows (7 x64) to test a .NET application on Mono (2.6.4). For some reason, MonoDevelop does not use the Mono toolchain to create an application. He compiles it using the Microsoft toolchain - C: \ Windows \ Microsoft.NET \ Framework \ v3.5 \ csc.exe. The project I'm trying to create is a simple ASP.NET MVC application created from the "New ASP.NET MVC" template.

The Run Time drop-down menu in Project \ Options-> Build-> General displays "MONO / .NET 35". What gives? Is there a way to change the .NET toolchain?

+3
source share
1 answer

First of all, make sure you have Mono installed. MonoDevelop does not include Mono runtime, so you will have to install it separately.

Once you set the Mono runtime, there are several ways to select the .NET toolchain that will be used to create and run applications.

If you plan to build and run mainly on Mono, you can set Mono runtime as the standard runtime for MonoDevelop. To do this, go to Edit-> Preferences → .NET Runtimes, select Mono runtime, and click "Choose Default."

Mono , Project- > Active Runtime .

+7

Source: https://habr.com/ru/post/1746530/


All Articles