aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Unable to find package Microsoft.AspNetCore.Blazor.Tempates

Open santhakumar11 opened this issue 8 years ago • 2 comments

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.

santhakumar11 avatar Mar 29 '18 07:03 santhakumar11

I have found the solution for this

dotnet new --install "Microsoft.AspNetCore.Blazor.Templates"

ref: http://dotnetnew.azurewebsites.net/pack/Microsoft.AspNetCore.Blazor.Templates

santhakumar11 avatar Mar 29 '18 08:03 santhakumar11

Glad you found the solution :)

SteveSandersonMS avatar Mar 29 '18 12:03 SteveSandersonMS