aspnet / Templates

This repo is OBSOLETE - please see the README file for information
Other
150 stars 57 forks source link

Wrong CLI command for template installation at nuget.org #848

Closed neman closed 7 years ago

neman commented 7 years ago

When I go tu nuget.org to search for some template I got the following page for link https://www.nuget.org/packages/NetEscapades.Templates/

image

The command instruct to use Install-Package NetEscapades.Templates which does not work.

Install-Package NetEscapades.Templates
Install-Package : No match was found for the specified search criteria and package name 'NetEscapades.Templates'. Try Get-PackageSource to see all available registered p ackage sources.
At line:1 char:1
+ Install-Package NetEscapades.Templates
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

The correct command is dotnet new --install "NetEscapades.Templates::*"

Will this be fixed in future release? Which will be the correct CLI command?