Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Razor Components Template in Visual Studio 2019 [duplicate]

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?

like image 799
Zvonimir Matic Avatar asked Nov 07 '22 18:11

Zvonimir Matic


1 Answers

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.

like image 66
Zvonimir Matic Avatar answered Nov 10 '22 00:11

Zvonimir Matic