I tried to execute the โList-Packageโ in the package manager console and get the following error in the Nuget package.
The term 'List-Package' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:13 + List-Package <<<< + CategoryInfo : ObjectNotFound: (List-Package:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I typed get-help Nuget to see all the available Nuget commands. But I could not see the "List-Package" as a result.
Does this error happen because the List-Package command is no longer supported in the latest version of Nuget? Maybe we need to use the Get-package list-package command instead of the List-Package
what causes this error?
source share