Sunday, June 17

UWP Support for .NET Standard 2.0, fixing the NU120 message

To fix the NU1201 for Universal Windows Program such as:
NU1201: Project WeatherApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586). Project WeatherApp supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1201: Project WeatherApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm. Project WeatherApp supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1201: Project WeatherApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm-aot. Project WeatherApp supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1201: Project WeatherApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64. Project WeatherApp supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1201: Project WeatherApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64-aot. Project WeatherApp supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1201: Project WeatherApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86. Project WeatherApp supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1201: Project WeatherApp is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot. Project WeatherApp supports: netstandard2.0 (.NETStandard,Version=v2.0)


You need to set the Minimum Version in the Project properties to Windows 10 Fall Creator Update (10.0; Build 16299).


No comments: