【发布时间】:2017-10-11 08:53:36
【问题描述】:
几个月来,我已经成功地针对 dotnet 核心 Web 应用程序运行构建定义,但构建已经开始失败。尝试在我的项目上运行 dotnet restore 命令时发生错误。
https://i.imgur.com/4EioYjr.png
还原任务运行时出现以下错误:
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-
flatcontainer/netcore.mailkit/index.json'.
Response status code does not indicate success: 504 (Gateway Timeout).
Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-
flatcontainer/netcore.mailkit/index.json'.
Response status code does not indicate success: 504 (Gateway Timeout).
我已在本地计算机上手动运行 dotnet restore 命令,但没有收到错误消息。
以前有人在 VSTS 中经历过类似的事情吗?
谢谢
【问题讨论】:
-
您是否正确链接图像VSTS Build Definition,无法访问?
-
图片上传但只生成图片文字。我添加了图片的直接链接。
-
能否也显示详细的构建日志?
-
这看起来像是微软的问题。blogs.msdn.microsoft.com/vsoservice/?p=15195
-
那么您是否解决了链接中提到的问题?
标签: .net-core azure-devops nuget-package-restore