No Option to Select .NET 4.x API Compatibility

I’m trying to collaborate on a new Unity project. I’m using version 2018.2.0f2 for Windows.

I am able to use Unity Collaborate to download the project (started by a team member) successfully, but there are a large number of compiling errors that appear for only me.

Feature `null propagating operator' cannot be used because it is not part of the C# 4.0 language specification

My team member suggested that the problem might be with my API Compatibility Level. His is .NET 4.x, and mine is .NET 2.0. My only options are .NET 2.0 and .NET 2.0 Subset – I have no option to select .NET 4.x

I have .NET 4.5 installed on my PC, so I don’t think this is the issue. I have searched Google and Stack Exchange, but could not find out why I am limited to only these two options. I need to know, if this is indeed what is causing the problem (it appears to be) how I can set Unity to use .NET 4.x for API Compatibility.

Thank you.

Looks like I was able to fix this problem by manually installing the .NET Core 2.0 SDK from this location: core/release-notes/download-archives/2.0.0-download.md at main · dotnet/core · GitHub

After installing this and restarting Unity, there were no more compiler errors. I’m not sure what I did to make that necessary, but if anyone else has this same problem, I would recommend doing the same.

Thanks for your response to your own question. I found myself having the same problem on someone else’s computer where they only had the option for .net 2.0 and .net 2.0 subset. This is a very strange problem and I cant figure out what was different about his PC and my PC.