问题描述
我目前仅安装了 .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预览:
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.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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!