error NU1301: Failed to retrieve information about 'volo.abp.cli' from remote source 'https://www.myget.org/feed/Packages/aspnetcoremodules/FindPackagesById()?id='volo.abp.cli'&semVerLevel=2.0.0'.
today i come across an error when install the abp from the command line

after refer to https://github.com/abpframework/abp/issues/2003
I do below test
1. use dotnet tool install -g Volo.Abp.Cli --ignore-failed-sources

and the abp will be successed installed

2. use dotnet tool uninstall -g Volo.Abp.Cli to unistall abp
open Visual studio > Tools > Options > Nuget Packages Manager > Package sources
uncheck all items except the nuget.org

this setting is actually saved in the file C:\Users\Gavin\AppData\Roaming\NuGet\NuGet.Config

then install the abp again and this time it does not have error

reference
posted on 2022-12-17 16:43 thegavincheng 阅读(532) 评论(0) 收藏 举报
浙公网安备 33010602011771号