简体   繁体   English

哪个版本的.Net Standard应该在支持UAP Ver 10应用程序的类库中定位

[英]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机器上)。

  • The UWP application is targeting Windows 10 Anniversary Edition (10.0; Build 14393). UWP应用程序的目标是Windows 10 Anniversary Edition(10.0; Build 14393)。
  • The Non UWP application is targeting .Net Framework 4.6.2. 非UWP应用程序的目标是.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). (我不需要针对这个版本。我认为.Net Framework 4.5或更新版本会很好)。
  • The class library is using .NetStandard Version 1.5. 类库使用的是.NetStandard 1.5版。

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.

相关问题 哪个.Net标准版支持哪些Android版本? - Which .Net Standard version supports which Android versions? .Net标准库是否支持Windows7 WPF应用程序? - Does .Net Standard Library supports Windows7 WPF Application? 我可以在版本4.6.2的Visual Studio项目中使用针对4.5.1 .net框架的库吗? - Can I use a library which is targeted to 4.5.1 .net framework in a visual studio project of version 4.6.2 C#用于读写swf文件的开源库,支持版本8,9和10 - C# Open source library for reading and writing swf file,which supports version 8,9 and 10 为什么安装.NET Framework 4.51会导致针对框架第4版的应用程序中出现'Microsoft.SqlServer.Types错误 - Why does installation of .NET Framework 4.51 causes 'Microsoft.SqlServer.Types error in application targeted to ver 4 of framework 什么版本的 .Net 框架应该针对最终用户应用程序 - What version of .Net framework should be targeted for end user apps Windows 10 UAP应用程序上的Google登录错误 - Google login error On Windows 10 UAP application 支持 .NET 6.0 的 Lucene.NET 发布版本是哪个? - Which is the released version of Lucene.NET that supports .NET 6.0? 用于Win 10 UAP / UWP(通用应用程序)的异步套接字库? - Async socket library for win 10 UAP/UWP (Universal App)? .NET Framework 4.6.1应用程序具有引用.NET Standard 1.4类库的错误 - .NET Framework 4.6.1 application has errors referencing .NET Standard 1.4 class library
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM