【问题标题】:Package restore fails on AzureAzure 上的包还原失败
【发布时间】:2013-08-30 13:49:56
【问题描述】:

我在 Azure 上运行了两台虚拟机。 一个正在运行构建服务器 (TeamCity),另一个正在运行 Visual Studio 2013。

两者都在构建同一个项目,其中使用了 NuGet 包还原。 除AjaxControlToolkit外,所有包都恢复正常。

nuget.targets(89, 9): Unable to find version '7.0607' of package 'AjaxControlToolkit'.

包在我的本地机器上运行时恢复正常。 这是 Azure 上的可访问性问题,我该如何调试?

【问题讨论】:

  • 你使用什么包源来恢复你的包?
  • plain old NuGet.org (nuget.org/api/v2) 我使用了这个来源的多个包,但只有 AjaxControlToolkit 无法恢复。

标签: azure teamcity nuget build-automation nuget-package


【解决方案1】:

这似乎是 NuGet v2.7 的问题:https://nuget.codeplex.com/workitem/3628 也许在发布修复程序之前使用 nuget v2.6?

【讨论】:

  • 我暂时无法对其进行测试(我的测试 Azure 服务已超出其限制)。我还没有将 NuGet 二进制文件添加到这个项目中,所以我可能需要在 Teamcity 中切换 NuGet 版本。在另一台运行 Visual Studio 的机器上,解决方案是将二进制文件手动复制到存储库文件夹。我猜他们很快就会解决这个问题。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-01-18
  • 1970-01-01
  • 2017-11-14
  • 1970-01-01
相关资源
最近更新 更多