How to set .Net 4.0 as the default frame in MonoDevelop (Unity 3D)

I am using MonoDevelop version 2.8.2 and the default options available in .NET 4.0. My first problem was that every time I rebooted MD, the .NET runtime would be reset to 3.0, and I would have to change it again. It was not too annoying, but I also want to know why this went on and how I could fix it forever.

Now my real problem is that the .NET Runtime (or whatever it was specifically, I don't remember) is no longer displayed in the Options drop-down list. Instead, I see the disabled Project Settings .

(I would put an image of what I see here, but apparently I need a reputation.)

If even one of these issues is fixed, I should be fine. But right now, I cannot rely on error messages from the IDE and must return to Unity.

+7
mono unity3d
source share
1 answer

Unity3D v4.2 currently uses Mono v2.6 or so and only supports equivalent .NET versions of version 3.5 or lower. I do not believe that it supports all angles of .NET 3.5.

Unity officially only supports .NET 2.0. See supported features here.

The best thing you can do is change the API compatibility level from v2.0-subset to v2.0 in the player settings .

+3
source share

All Articles