5

I just installed Visual Studio 2019 (full version) and .NET Core 3.0 Preview 3 so I can test Razor Components. On Get started with Razor Components page it says that prerequisites are .NET Core Preview 3 and VS 2019 Preview. I figured that full version (not preview) of VS 2019 would do, but there is no template for Razor Components (I can't even choose .NET Core 3 on that dialog window as it's said on the get started page).

I can still create Razor Components project with dotnet new razorcomponents, but I don't understand why is there no template, do I really have to install the preview version of VS 2019 to do so? Or is there some other way I can add the template?

Zvonimir Matic
  • 831
  • 1
  • 8
  • 12

1 Answers1

1

This question is a duplicate as Jimmy pointed out: ASP.NET Core 3.0 not showing on Visual Studio 2019 RC

The solution is to go to Tools -> Options -> Projects and Solutions -> .NET Core and turn on Use previews of the .NET Core SDK.

Zvonimir Matic
  • 831
  • 1
  • 8
  • 12
  • 3
    This option does not exist in VS2019 PRevis 16.2.0. Its now under Environment - Preview Features. – Ted May 28 '19 at 21:00