[英]How to install .net standard 2.0 into Visual studio 2017
I'm getting the following 4 missing dependencies when trying to build Math.net Numerics in Visual Studio 2017尝试在 Visual Studio 2017 中构建 Math.net Numerics 时,我得到以下 4 个缺失的依赖项
.NETFramework 4.0
.NETFramework 4.6.1
.NETStandard 1.3
.NETStandard 2.0
I cant seem to find these SDKs or binary libraries or any information on how to install them.我似乎找不到这些 SDK 或二进制库或任何有关如何安装它们的信息。 Do I need to install 4 separate frameworks?
我需要安装 4 个独立的框架吗? Or just one SDK?
还是只有一个 SDK? Why do I need both.NetStandard 2.0 and 1.3 or both frameworks 4.0 and 4.6.1?
为什么我需要.NetStandard 2.0 和 1.3 或框架 4.0 和 4.6.1?
Can somebody point me to a link where of what I need to install?有人可以指出我需要安装的链接吗? Thanks
谢谢
.NET Standard 2.0 comes with any installation of .NET Core 2.x SDK, this means including .NET Core runtime of 2.0, 2.1, and 2.2. .NET Standard 2.0 comes with any installation of .NET Core 2.x SDK, this means including .NET Core runtime of 2.0, 2.1, and 2.2.
Please consult the official documentation on .NET Standard: https://docs.microsoft.com/en-us/dotnet/standard/net-standard请查阅 .NET 标准的官方文档: https://docs.microsoft.com/en-us/dotnet/standard/net-standard
Since October 2019, the recommended way to have .NET Standard 2.0 is by having synchronized with .NET Core lifecycle, therefore it is recommended to have at least the LTS version of .NET Core 2.1 SDK or .NET Core 2.2. Since October 2019, the recommended way to have .NET Standard 2.0 is by having synchronized with .NET Core lifecycle, therefore it is recommended to have at least the LTS version of .NET Core 2.1 SDK or .NET Core 2.2.
This is important because .NET Core 2.0 is not supported anymore, therefore it is strongly recommended to always use the minimum supported version of .NET Core 2.x.这很重要,因为不再支持 .NET Core 2.0,因此强烈建议始终使用 .NET Core 2.x 的最低支持版本。 In order to ensure longer support, please use .NET Core 2.1 instead of 2.2 because .NET Core 2.1 is LTS release, whereas .NET Core 2.2 is not.
为了确保更长时间的支持,请使用 .NET Core 2.1 而不是 2.2,因为 .NET Core 2.1 是 LTS 版本,而 .NET Core 2.2 不是。
This is the official article about .NET Core support policy: https://dotnet.microsoft.com/platform/support/policy/dotnet-core这是关于.NET核心支持政策的官方文章: https://dotnet.microsoft.com/platform/support/policy/dotnet-core
NOTES:笔记:
UPDATE 1: (about SDK versions in relation with VS 2017)更新 1:(关于与 VS 2017 相关的 SDK 版本)
For more information, see also this GitHub issue: https://github.com/dotnet/sdk/issues/3124有关更多信息,另请参阅此 GitHub 问题: https://github.com/dotnet/sdk/issues/3124
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.