Visual Studio 2019无法检测到.Net Core 3预发行版9 SDK [英] Visual Studio 2019 does not detect .Net Core 3 pre-release 9 SDK

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

问题描述

我目前仅安装了 .Net Core 3预发行版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.

我甚至打开了在设置中使用.Net Core SDK的预览,并确保 C:\Program Files\dotnet\ 位于最顶部我的PATH环境变量。我也使用Visual Studio 版本16.2.4

I even turned on Use previews of the .Net Core SDK in the settings and ensured that C:\Program Files\dotnet\ 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支持.NET Core 3.0 Mac 8.3(今天也发布)。请升级到.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预发行版9 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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