2017-10-17 106 views
0

我已经配置了Nuget还原Team City构建步骤,在解决方案构建之前恢复所有块体依赖关系。TeamCity - 无法找到包'EntityFramework'的版本'6.1.3'

的恢复的NuGet构建步骤看起来像下面

enter image description here

当我跑我得到以下错误的版本。

[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不能被我的构建代理访问吗? 还是别的?

回答

0

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

相关问题