Fork me on GitHub

Nuget私服老是弹输入用户名密码框

image

先把vs中私服删除,然后,控制面板\用户帐户\凭据管理器,删除私服
image

最后输入命令:
NuGet.exe Sources Update -Name <feedName> -Source <pathToPackageSource> -UserName <your username> -Password <your secret>

feedName:自定义的私服名
pathToPackageSource:私服仓库地址
your source:私服用户名
your secret:私服密码

参考链接:https://stackoverflow.com/questions/35938986/private-nuget-feed-remembering-password

posted @ 2022-09-05 10:42  猫叔Vincent  阅读(233)  评论(0编辑  收藏  举报