Visual Studio 2019 does not detect .Net Core 3 pre

2019-09-21 08:26发布

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.

enter image description here

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.

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

enter image description here

1条回答
别忘想泡老子
2楼-- · 2019-09-21 09:14

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/

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

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.

查看更多
登录 后发表回答