当你的才华不能撑起你的野心时,就是你该选择学习的时候了!

NuGet Response status code does not indicate success: 401 (Unauthorized).

Retrying 'FindPackagesByIdAsyncCore' for source 'https://nexus-cn/repository/nuget-group/FindPackagesById()?id='Moq'&semVerLevel=2.0.0'.
An error occurred while sending the request.
  The request was aborted: The request was canceled.
  The ServicePointManager does not support proxies with the https scheme.
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nexus-cn/repository/nuget-group/FindPackagesById()?id='NLog.Web.AspNetCore'&semVerLevel=2.0.0'.
Response status code does not indicate success: 401 (Unauthorized). 

 

原因:登录用户的密码输错了,清理后重新输入就好了。

  在控制面板->凭据管理器->Windows Credentials->找到VS Credential 删除,再次Restore NuGet 后会再次提示输入机器登录名和密码,输入正确就解决了。

 

posted @ 2023-04-06 16:00  hofmann  阅读(194)  评论(0)    收藏  举报