Missing visual studio 2019 blazor webassembly app template

后端 未结 2 1028
别那么骄傲
别那么骄傲 2021-02-12 11:09

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条回答
  • 2021-02-12 11:44

    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...

    0 讨论(0)
  • 2021-02-12 11:52

    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 .

    0 讨论(0)
提交回复
热议问题