TeamCity - 找不到版本“6.1.3”的包 'EntityFramework'

TeamCity - Unable to find version '6.1.3' of package 'EntityFramework'

我已配置 Nuget 恢复 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? 还是别的?

将 NuGet.exe 版本更新到最新版本解决了我的问题。