当前 .Net SDK 不支持面向 .Net Core 2.2 面向 .Net Core 2.1 或更低版本 [英] The Current .Net SDK does not support targeting .Net Core 2.2 Target .Net Core 2.1 or Lower
问题描述
我在 .net core 2.2 preview 3 的预览版中有一些项目.在我将 VS Studio 社区版更新到 15.9.2 版之前,它运行良好.之后,不再可能针对 .net core 2.2 预览版.当我执行 dotnet --list-sdks
时,我会得到一个已安装的 SDK 列表,包括 2.2.100-preview3.
I have some projects in the preview version of .net core 2.2 preview 3.
It was working fine until i updated my VS Studio Community Edition to Version 15.9.2.
After that targeting .net core 2.2 preview is no longer possible.
When i do dotnet --list-sdks
I get a list of the SDKs installed including 2.2.100-preview3.
更新VS Studio后,列表现在只显示
After updating VS Studio, the list now only shows
我关注了类似的问题,但无法解决问题.有什么指点吗?
I have followed similar questions but could not resolve the issue. Any pointers?
推荐答案
似乎最新版本关闭了预览的使用,菜单下的使用 .NET Core SDK 的预览"选项 -> 工具 -> 选项 -> 项目和解决方案 -> .NET Core
seems that the latest release turns off the use of preview, "Use previews of the .NET Core SDK" option under menu -> Tools -> Options -> Projects and Solutions -> .NET Core
去这里重新打开它.
这篇关于当前 .Net SDK 不支持面向 .Net Core 2.2 面向 .Net Core 2.1 或更低版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!