ASP.NET Core 3.0 not showing on Visual Studio 2019

前端 未结 17 1129
后悔当初
后悔当初 2020-12-08 12:41

I want to test the new Blazor server-side framework (aka Razor Components).

I installed Visual Studio 2019 RC, and then the .Net Core 3.0 preview 2, following this o

相关标签:
17条回答
  • 2020-12-08 13:26

    I have the same issue here after moving from Visual Studio 2019 Preview to Visual Studio 2019 RC.

    This page seems to suggest that you need Preview to use .net Core 3.0 which is annoying.

    https://dotnet.microsoft.com/download/dotnet-core/3.0

    I looked up the difference between RC and Preview, and they pull builds from different channels (stable and preview).

    The next thing I’m going to try is to go back to Preview to see if .Net Core 3.0 becomes visible again.

    0 讨论(0)
  • 2020-12-08 13:26

    I was not able to get .netcore 3.0 preview8 working on my Visual Studio Community Edition (version 16.2.3). I opted to uninstall .netcore 3.0 preview8 and I installed .netcore 3.0 preview7 instead. After insalling .netcore 3.0 preview7 In Visual Studio I checked use previews of the .NET Core SDK option that is in Tools -> Options -> Preview Features and I restarted it. That worked for me, but if someone have .netcore 3.0 preview8 already working, help will be appreciated it.

    0 讨论(0)
  • 2020-12-08 13:30

    I had the same issue. Here is what worked for me.

    • First, download the latest .Net Core 3.0 SDK (see 1,2 below).

    • Next, Check for updates (4,5). (this is what helped me the most)

    • Next, Enable Preview SDK (5,6,7,8,9) and restart

    • Now, the .net core 3.0 option should show (11).
    0 讨论(0)
  • 2020-12-08 13:31

    There is an option in Tools -> Options that enables preview versions of the .NET Core SDK. In the VS Preview shipping channel, it is on (by default, and not settable). In the VS Release channel, it defaults to off and you can opt-in.

    (Note: it's disabled in the screenshot because I have a Preview build installed.)

    The reason for this is to allow you to customize whether a project using a released version of .NET Core (such as 2.1, the current LTS) will use tooling from the newer not-yet-release-quality SDK.

    Prior to 16.1, this option was located on the Tools -> Options -> Projects and Solutions -> .NET Core page.

    0 讨论(0)
  • 2020-12-08 13:32

    It no longer works... again!

    The SDK 3.0.100-preview8-013656 doesn't provide the ASP.Net Core 3.0 project template.

    You have to uninstall it and install SDK 3.0.100-preview7-012821

    https://dotnet.microsoft.com/download/dotnet-core/3.0

    0 讨论(0)
提交回复
热议问题