Unable to find package Microsoft.AspNetCore.Blazor.Tempates
I am trying to install the Microsoft.AspNetCore.Blazor.Tempates in the command line. But I am getting the error "error NU1101: Unable to find package Microsoft.AspNetCore.Blazor.Tempates"
C:\Users\santhakumar>dotnet new -i Microsoft.AspNetCore.Blazor.Tempates Restoring packages for C:\Users\santhakumar.templateengine\dotnetcli\v2.1.300-preview1-008174\scratch\restore.csproj... C:\Users\santhakumar.templateengine\dotnetcli\v2.1.300-preview1-008174\scratch\restore.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.Blazor.Tempates. No packages exist with this id in source(s): C:\Program Files\dotnet\sdk\NuGetFallbackFolder, Microsoft Visual Studio Offline Packages, nuget.org Generating MSBuild file C:\Users\santhakumar.templateengine\dotnetcli\v2.1.300-preview1-008174\scratch\obj\restore.csproj.nuget.g.props. Generating MSBuild file C:\Users\santhakumar.templateengine\dotnetcli\v2.1.300-preview1-008174\scratch\obj\restore.csproj.nuget.g.targets. Restore failed in 1.61 sec for C:\Users\santhakumar.templateengine\dotnetcli\v2.1.300-preview1-008174\scratch\restore.csproj.
I have found the solution for this
dotnet new --install "Microsoft.AspNetCore.Blazor.Templates"
ref: http://dotnetnew.azurewebsites.net/pack/Microsoft.AspNetCore.Blazor.Templates
Glad you found the solution :)