21
votes

I updated my vs 2019 16.3.10 to 16.4 and .net core 3.0 to .net core 3.1 but the blazor web assembly application template is missing.

2

2 Answers

36
votes

Try the following to install the latest Blazor WebAssembly template. Run the following command:

dotnet new --install Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview3.20168.3

Get the latest version here. It's free...

2
votes

In command line run:

dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.1.0-preview2.19528.8
cd C:\Users\Username\Documents\MyWebSites\BlazorWebAssySite1
dotnet new blazorwasm

Open VS2019, choose open project and find BlazorWebAssySite1 folder. Done. For new projects just create a new project folder and run the last command.

Have also a look at this video: https://www.youtube.com/watch?v=bophIr--1QY .