Blog
- Home
- ASP.NET Core
- Blazor
- Workaround to use the Blazor templates with the .NET CLI
22/03/2018 There is no more need for this workaround now, the first public preview of Blazor is released. Read this blog post to learn how to get started with Blazor: Get started building .NET web apps that run in the browser with Blazor.
Workaround to use the Blazor templates with the .NET CLI
There is currently a little bug with the templating in the DotNet command line interface, so you may see the Blazor templates only once after installing them.

If you encounter the problem, a quick and very simple workaround is to run the command dotnet new --debug:reinit and reinstall the Blazor templates. After doing this, you will see the Blazor templates back in the list.
dotnet new --debug:reinit
dotnet new -i Microsoft.AspNetCore.Blazor.Templates::0.0.5-* --nuget-source https://dotnet.myget.org/F/blazor-dev/api/v3/index.json

dotnet new --list

March 06, 2018