【发布时间】:2017-10-17 00:28:38
【问题描述】:
我已配置 Nuget restore Team City 构建步骤以在解决方案构建之前恢复所有 nugget 依赖项。
Nuget 恢复构建步骤如下所示
当我运行构建时,出现以下错误。
[10:31:38][restore] JetBrains TeamCity NuGet Runner 8.0.46654.9
[10:31:38][restore] Registered additional extensions from paths: C:\BuildAgent\plugins\nuget-agent\bin\plugins-2.5
[10:31:38][restore] Starting NuGet.exe 2.7.41115.310 from C:\BuildAgent\tools\NuGet.CommandLine.2.7.3\tools\NuGet.exe
[10:31:43][restore] Unable to find version '6.1.3' of package 'EntityFramework'.
[10:31:43][restore] Process exited with code 1
[10:31:43][restore] Process exited with code 1
我不知道这里出了什么问题。
nuget 包 EF 6.1.3 可在 nuget.org 获得。
我的构建代理无法访问 nuget.org 吗? 还是别的什么?
【问题讨论】: