使用 source 参数查找包无法获取所有 nuget 包的当前版本
查找包源“ C:\Users\P10410559\source\repos\WebApplication4\WebApplication4\packages.config
”
错误获取为:
Find-Package : The following source failed to search for packages: 'C:\Users\P10410559\source\repos\WebApplication4\WebApplication4\packages.config'
The path 'C:\Users\P10410559\source\repos\WebApplication4\WebApplication4\packages.config' for the selected source could not be resolved.
At line:1 char:1
+ Find-Package -Source "C:\Users\P10410559\source\repos\WebApplication4 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Find-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.FindPackageCommand