Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET 4.6 - monodevelop on linux

I have mono installed from beta channel (http://www.mono-project.com/docs/getting-started/install/linux/) - version 4.0.4

I can't compile Visual Studio 2015 project.

In project options under Build->General the Target framework is .NETFramework 4.6 (Not installed).

Compilation errors: CompilationErrors Project settings: ProjectSettings

like image 760
smokeing Avatar asked Oct 27 '15 13:10

smokeing


People also ask

What version of .NET does Mono support?

NET Framework 4.7. 2 and Mono 6.6.

What happened to MonoDevelop?

No more binary package of MonoDevelop for various Linux distributions. Many issues to compile the latest code base on Linux. The repository was polluted by Microsoft private NuGet feeds and private code repositories (though some repos became open sourced later on).

Can Mono run .NET framework?

So, after all these years of its evolution, mono is capable of running many of original . NET Framework application types on operating systems other than Windows. This includes GUI-enabled desktop applications, which can now be made compatible with virtually any modern desktop operating system, including Solaris.

Does .NET 6 use Mono?

Visual Studio 2022 for Mac has parted ways with the Mono runtime in the just-published Preview 5, now running on . NET 6. The dumping of Mono comes as the dev team works to adopt a fully native macOS UI and run the IDE natively on Apple's ARM-based M1 processor, the latter of which is key to adopting .


1 Answers

You will have to downgrade to .NET 4.5 profile if you do want to target both .NET and Mono, or you help Mono out by filling the gaps between 4.5 and 4.6, or you simply wait till someone else helps out.

Updated: This answer applied to the Mono release at that time. Latest Mono release does support .NET Framework 4.6 and above, so you don't need to downgrade any more.

like image 168
Lex Li Avatar answered Oct 17 '22 01:10

Lex Li