【问题标题】:TeamCity - Unable to find version '6.1.3' of package 'EntityFramework'TeamCity - 找不到包“EntityFramework”的版本“6.1.3”
【发布时间】: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 吗? 还是别的什么?

【问题讨论】:

    标签: msbuild nuget teamcity


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2016-01-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-05
      • 2016-10-09
      • 1970-01-01
      • 1970-01-01
      • 2017-07-31
      相关资源
      最近更新 更多