Unable to update Xamarin.Forms to >2.5: Error CS0012

I am using a shared project with Xamarin.Forms in VS 2017 and my app targets iOS, Android and UWP. However, since the release of Xamarin 3.0 I am unable to update from Xamarin 2.5. Any releases prior to 3.0 work, but when I update via nuget I get the following error message:

CS0012 The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

I searched the web and found multiple ideas but none seemed to work for me. Is this a known problem? I have tried several hours to solve this problem but I was unable to find anything.

Posts

  • kingmatherskingmathers Member ✭✭

    I now realized my problem: I was trying to use Xamarin.Forms 3.0 with a UWP project targeting Windows 10 Mobile, but this is not supported due to Xamarin.Forms 3 requiring a version of .NET Standard that is only supported on Windows 10 16299 or higher, which is not available for Windows 10 Mobile.

Sign In or Register to comment.