找不到与输入匹配的已安装模板,在线搜索匹配的模板

Couldn't find an installed template that matches the input, searching online for one that does

为什么在创建新项目时会出现此错误?

dotnet new blazor -o WebApplication1

Couldn't find an installed template that matches the input searching online for one that does

因为这个模板不存在。尝试:

dotnet new blazorserver -o WebApplication1

dotnet new blazorwasm -o WebApplication1

Check the differences here