Error when targetting UWP (Windows 10 Creators Update - 10.0; Build 15063)

Hi,

I'm trying to set the UWP project of a Xamarin Forms solution to the following:

Target Version: (Windows 10 Creators Update - 10.0; Build 15063)
Min Version: (Windows 10 November Update - 10.0; Build 10586)

But when I try to compile the project, I get the following errors:

Error Project '..\MyApp\MyApp.csproj' targets 'netstandard2.0'. It cannot be referenced by a project that targets 'UAP,Version=v10.0.10586'. MyApp.UWP

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot. Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64. Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm64-aot. Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64-aot. Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586). Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86. Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm-aot. Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

Error NU1201 Project MyApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm. Project MyApp supports: netstandard2.0 (.NETStandard,Version=v2.0) MyApp.UWP D:\Projects\MyApp\MyApp\MyApp.UWP\MyApp.UWP.csproj 1

I assume it is related to the fact that the project is still referencing .NET Standards 2.0 and it is clearly not compatible with the UWP Min and Target version being used but I'm not sure how to resolve it?

Can anyone help?

Thanks.

Sign In or Register to comment.