[英]If a nuget Package is .Net Standard 2.0 supported then can we use that package in asp.net as well as asp.net core?
我正在将 asp.net 应用程序迁移到 .net core ,我只有使用的包列表(不是代码)所以需要知道如果一个包支持 .Net Standard 2.0 那么相同的包可以用于.net 核心 3.0?
As this document indicates that:正如 本文件所指出的那样:
Net Standard 2.0
supports >= Net Core 2.0
. Net Standard 2.0
支持>= Net Core 2.0
。
Net standard itself is compatible with net framework
and net core
at the same time, you only need to pay attention to the version it supports. Net 标准本身同时兼容
net framework
和net core
,你只需要关注它支持的版本。
So if your packages support net standard 2.0
, they will be installed into Net Core 3.0
without any errors.因此,如果您的软件包支持
net standard 2.0
,它们将被安装到Net Core 3.0
而不会出现任何错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.