Forum Xamarin.Mac


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Net standard 2.0 and net 4.6.1 in Mac-Project

ThomasFlemmingThomasFlemming DEMember ✭✭
edited December 2018 in Xamarin.Mac

I need to use some net-standard 2.0 libs in my existing Xamarin.Mac net 4.5 project.
Following this post I changed the csproj-file to target 4.6.1 and everything works.
The project compiles and runs.


Now some of the system-references are showing an error:

And in project-settings the selector for the net-version is disabled:

How can I fix this?

Best Answer


  • ficnozlficnozl SIMember ✭✭

    @ChrisHamons I'm not sure if this is only my system, but if I just create a blank cocoa app and change the target FM to "Xamarin.Mac Full", the "can't find error" shows up at all references.
    Additionally I can't select any reference in Edit references dialog.
    If I change the target FW to 4.5, then everything works ok. I don't know what is special with .Net 4.5, but when set to .net 4.5 everything works ok.

    .Net 4.5.1, .Net 4.5.2, .Net 4.6 ... all show errors.

    Everything compiles and works, but it is an annoying bug since you can't add any references via UI.

  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    That sounds wrong, could you file an issue with steps to reproduce?

Sign In or Register to comment.