Which version of .Net Standard should be targeted in a class library that supports a UAP Ver 10 application

Viewed 706

I have a game that I programmed using C#/MonoGame. I am currently using Visual Studio 2017 and am targeting release in the Windows App Store. I am planning on having 2 versions of game, one in the Windows App Store and one that does not run on UWP (so can be installed on non Windows 10 machines).

  • The UWP application is targeting Windows 10 Anniversary Edition (10.0; Build 14393).
  • The Non UWP application is targeting .Net Framework 4.6.2. (I don't need to target this version though. I think .Net Framework 4.5 or newer would be fine).
  • The class library is using .NetStandard Version 1.5.

Error Message 'XXX.csproj' targets '.NETStandard,Version=v1.5'. It cannot be referenced by a project that targets 'UAP,Version=v10.0.10586'.

So, I'm having trouble figuring out which version of .Net Standard I need to target in my class library to support UAP ver 10. I'm new to .Net Standard, so the answer is probably simple.

1 Answers
Related