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?
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With