[英]Which version of .Net Standard should be targeted in a class library that supports a UAP Ver 10 application
I have a game that I programmed using C#/MonoGame. 我有一个用C#/ MonoGame编程的游戏。 I am currently using Visual Studio 2017 and am targeting release in the Windows App Store.
我目前正在使用Visual Studio 2017,目标是在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).
我计划有两个版本的游戏,一个在Windows App Store中,一个不在UWP上运行(因此可以安装在非Windows 10机器上)。
Error Message 'XXX.csproj' targets '.NETStandard,Version=v1.5'. 错误消息 'XXX.csproj'的目标是'.NETStandard,Version = v1.5'。 It cannot be referenced by a project that targets 'UAP,Version=v10.0.10586'.
它不能被针对'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. 因此,我无法确定哪个版本的.Net Standard需要在我的类库中定位以支持UAP版本10.我是.Net Standard的新手,所以答案可能很简单。
You can find the answer on the .Net Standard GitHub repo . 您可以在.Net Standard GitHub repo上找到答案。 The last supported version in UWP is .NET Standard 1.4 , the next version to be implemented is .NET Standard 2.0 which won't be available before the Fall Creators Update (so after the summer) as mentioned at Build 2017.
UWP中最后一个支持的版本是.NET Standard 1.4 ,下一个要实现的版本是.NET Standard 2.0 ,它将在Build Creators Update(夏天之后)之前提供,如Build 2017所述。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.