类库(传统便携式)? [英] Class Library (Legacy Portable)?

查看:117
本文介绍了类库(传统便携式)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台装有Microsoft Visual Studio Community 2017的PC 15.2版,它具有用于类库(便携式)的项目模板.

I have one PC with Microsoft Visual Studio Community 2017 Version 15.2 and it has a project template for Class Library (Portable).

另一台版本15.3.1的PC具有用于类库(旧版便携式)的模板. PCL现在是旧版吗?

Another PC with Version 15.3.1 has a template for Class Library (Legacy Portable). Are PCLs now legacy ?

关于我应该使用什么的最新消息?

Any current news on what I should be using instead ?

推荐答案

好吧,应该",我不会说没有完全看到正在做什么,但是是的,PCL现在正在传统",新方法是.NET Standard和.NET Core.

Well, "should", I won't say that without seeing exactly what you're doing but yes, PCLs are now "legacy", the new way is .NET Standard and .NET Core.

请注意,旧版并不意味着将停止工作",因此,到目前为止还不需要做任何事情.

Please note that legacy does not mean "will stop working" so there shouldn't be a need to do anything as of yet.

要弄清楚您要针对哪种类型的.NET Standard版本,请查阅

To figure out which kind of .NET Standard version you want to target to get-out-of-legacy, you can consult the compatibility list on the .NET Standard web page.

具体来说,您可能希望查阅同一网页上的其他矩阵

Specifically, you likely want to consult the other matrix on the same web page, the .NET Implementation Support matrix and figure out which platforms you want to target, then create a "Class Library (.NET Standard)" project targetting the highest .NET Standard version you can get away with.

这篇关于类库(传统便携式)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆