I can't start a Blazor project in Visual Studio.
Visual Studio version: Community 2019 (16.6.4)
I have tried:
dotnet new --install Microsoft.AspNetCore.Blazor.Templates::3.2.0-preview1.20073.1
in both the NuGet CLI and CMD.No matter what I do, I don't see anything related to Blazor when I click "Create a new project" in Visual Studio.
To start a Blazor Webassembly project in Visual Studio 2019 you will need to install the WebAssembly template from the command line, to install the latest preview execute the following command via the Package Manager Console in Visual Studio.
dotnet new --install Microsoft.AspNetCore.Blazor.Templates::3.1.0-preview3.19555.2
With the WebAssembly template installed, you can now create a client-side Blazor project. Start by creating a new Blazor App project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.