当前.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

查看:98
本文介绍了当前.Net SDK不支持目标.Net Core 2.2目标.Net Core 2.1或更低版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在.net core 2.2预览版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?

推荐答案

https://developercommunity.visualstudio.com/content/problem/387549/net-22-loast-afte-upgrading -to-1592.html

似乎最新版本关闭了预览功能,
使用.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

转到此处将其重新打开。

go here to turn it back on.

这篇关于当前.Net SDK不支持目标.Net Core 2.2目标.Net Core 2.1或更低版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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