小编Cha*_*mar的帖子

无法加载源 https://pkgs.dev.azure.com/xxxxx/_packaging/yyyyy/nuget/v3/index.json 的服务索引

我收到此错误:无法加载源https://pkgs.dev.azure.com/xxxxx/_packaging/xxxxx/nuget/v3/index.json的服务索引。响应状态码并不表示成功:401(未经授权)。)

我正在尝试从其他组织的天蓝色工件恢复包。在此输入图像描述

错误日志:38 个包到packages.config 项目

[错误]nuget 命令失败,退出代码(1) 和错误(packages.config 项目中的错误

Unable to find version '1.0.976930' of package 'xxxx.Security.Eso.Web.DevSignOn'.
  https://api.nuget.org/v3/index.json: Package 'xxxx.Security.Eso.Web.DevSignOn.1.0.976930' is not found on source 'https://api.nuget.org/v3/index.json'.
  https://pkgs.dev.azure.com/xxxx/_packaging/yyyy/nuget/v3/index.json: Unable to load the service index for source https://pkgs.dev.azure.com/xxxx/_packaging/yyyy/nuget/v3/index.json.
  Response status code does not indicate success: 401 (Unauthorized).)
Run Code Online (Sandbox Code Playgroud)

[错误]包恢复失败

我尝试了这些解决方案,但没有运气: 1. https://mallibone.com/post/private-nuget-feed-azure-devops 2. https://learn.microsoft.com/en-us/azure/devops/pipelines /packages/nuget-restore?view=azure-devops

azure nuget nuget-package-restore devops

5
推荐指数
2
解决办法
1万
查看次数

标签 统计

azure ×1

devops ×1

nuget ×1

nuget-package-restore ×1