Visual Studio 2019 未检测到 .Net Core 3 pre-release 9 SDK [英] Visual Studio 2019 does not detect .Net Core 3 pre-release 9 SDK

查看:29
本文介绍了Visual Studio 2019 未检测到 .Net Core 3 pre-release 9 SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前只安装了 .Net Core 3 pre-release 9,如果我想创建一个新的 ASP.Net Core 应用程序,它会告诉我以下内容.

I only have .Net Core 3 pre-release 9 currently installed and if I want to create a new ASP.Net Core application it tells me the following.

我什至在设置中打开了Use previews of the .Net Core SDK 并确保 C:Program Filesdotnet 在我的最顶端PATH 环境变量.另外我使用的是 Visual Studio Version 16.2.4.

I even turned on Use previews of the .Net Core SDK in the settings and ensured that C:Program Filesdotnet is at the very top of my PATH environment variable. Also I am using Visual Studio Version 16.2.4.

如果我输入 dotnet --info 它会显示以下内容:

If I type dotnet --info it shows me the following:

推荐答案

您需要安装 VS2019 Preview,而不是 RTM,并且是最新的,才能在 VS 中使用 .NET Core 3.0 预览:https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0-preview-9/

You will need VS2019 Preview, not RTM, installed and up-to-date to use .NET Core 3.0 previews with VS: https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0-preview-9/

今天发布的 Visual Studio 2019 16.3 Preview 3 和 Visual Studio for Mac 8.3 支持 .NET Core 3.0.请升级到它以获得 .NET Core 3.0 Preview 9 的最佳(和受支持)体验.有关详细信息,请参阅 Visual Studio 2019 16.3 发行说明.

.NET Core 3.0 is supported with Visual Studio 2019 16.3 Preview 3 and Visual Studio for Mac 8.3, which were also released today. Please upgrade to it for the best (and supported) experience with .NET Core 3.0 Preview 9. See Visual Studio 2019 16.3 release notes for more information.

我们知道有些人在 Visual Studio 2019 16.2 中成功使用了 .NET Core 3.0 版本,但想知道为什么需要 16.3.简而言之,我们仅使用 Visual Studio 2019 16.3 测试 .NET Core 3.0,并进行了许多仅在 16.3 中才有的改进和关键修复.

We know that some folks have been successful using .NET Core 3.0 builds with Visual Studio 2019 16.2 and wonder why 16.3 is required. The short answer is that we only test .NET Core 3.0 with Visual Studio 2019 16.3 and have made many improvements and key fixes that are only in 16.3.

这篇关于Visual Studio 2019 未检测到 .Net Core 3 pre-release 9 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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