C:\hostedtoolcache\windows\dotnet\sdk\3.1.416\NuGet.targets(128,5):
error :
Response status code does not indicate success: 403
(Forbidden - User '2016d1a0-0d43-42b0-8a96-7f6a9bxxxxxx' lacks permission to complete this action. You need to have 'ReadPackages'.
(DevOps Activity ID: ADACCF88-4190-491C-B690-E3330E3xxxxx)).
[D:\a\1\s\Notifications.Functions\Notifications.Application.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:08.96
##[error]Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1
Run Code Online (Sandbox Code Playgroud)
如果生成服务无权访问 Azure Artifacts Feed,则会出现此错误消息。要解决此问题:
[ProjectName] Build Service(其中[ProjectName]是包含您尝试从中推送的管道的 Azure DevOps 项目的名称),然后选择下拉列表中显示的相应组。现在,当您运行管道时,它将能够毫无问题地将 nuget 包推送到 Azure Artifacts 源。
| 归档时间: |
|
| 查看次数: |
8992 次 |
| 最近记录: |