简体   繁体   中英

How do I change .NET version in Xamarin for a MonoMac exe?

There doesn't seem to be a place to do this. Usually I go to Options -> General for libraries and then I can change the Framework version... strange.

Yeah, a couple of months ago I ran into this same issue; I checked the .csproj file of a project that had this setting visible to see what the deal was, and the issue went away after I copied over the setting:

<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

at the end of the first property group.

You can't change that, it's determined by the Xamarin version you are using, currently (a subset of) .Net 4.5

TargetFrameworkVersion mentioned in the previous answer is Android framework version, not .Net framework version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM