.net-core - 哪个 .NET Core SDK 用于 VS 16.4 中的 .NET Core 2.2?
问题描述
截至今天(2019 年 12 月),我应该使用以下哪些 .NET Core SDK-s 在 Visual Studio 2019 版本 16.4 中定位 .NET Core 2.2?
a) SDK 2.2.207,2019 年 11 月 19 日发布,支持 Visual Studio 2019 v16.0
b) SDK 2.2.402,2019 年 9 月 10 日发布,支持 Visual Studio 2019 v16.2
我想我应该使用 SDK 2.2.207,所以我可以使用最新的运行时(2.2.8),但令我困惑的是为什么它没有被 Visual Studio Update 自动更新?(更新到 Visual Studio 16.4 后,我目前安装了以下 SDK-s:3.1.100、2.2.402、2.1.802)
解决方案
You can basically use any SDK that vs will choose, but should stick to the lastest ones if possible to ensure you don't get compiler mismatches (e.g. when you pin the SDK for command-line builds but want to use newer compiler features).
You can build 2.2 applications with the 3.* SDKs as well, the older SDK version however are still maintained for compatibility.
Do note that .NET Core 2.2 will go out of service no December 23rd 2019 so i suggest migrating to a higher version or the 2.1 LTS version. Likely for this reason, there was no additional 2.2.403 release.
推荐阅读
- android-studio - 如何在 viewRenderable ARcore 上动态添加视图(复选框)?
- python-3.x - 在方括号对之间用单引号替换双引号
- firebase - 如何为登录添加 if else 条件?
- c# - 从 Task.WhenAll() 等待的任务分配时避免检查条件两次
- xcode - 在 Xcode 中设置 Glad 和 Glfw(未定义符号错误)
- reactjs - 覆盖默认语言
- ios - 更新 Icloud 文档上的 pdf 文件
- asp.net-core - ASP.NET Core, On request 立即返回 200, 然后运行一个方法
- c++ - 使用 std::bind 的 C++ 回调
- python - 如何根据另一个列表过滤 Python 中的列表元素?