首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >竹类NuGet包的恢复

竹类NuGet包的恢复
EN

Stack Overflow用户
提问于 2016-08-10 14:16:42
回答 1查看 3.2K关注 0票数 2

我正在使用竹子做的建设ASP .NET项目和下面提到的步骤。

MSBuild与亚特兰蒂斯竹子

在运行构建之后,我发现它在下载nuget包时失败了,下面的消息出现在汇总选项卡上。

没有找到失败的测试,可能出现编译错误。

所以我查看了log选项卡,下面是我得到的

2016年8月10日09:59:09无法找到软件包“Microsoft.Owin.Security.Google”的3.0.1版本。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache: Package 'Microsoft.Owin.Security.Google.3.0.1‘源’C:\user\user\AppData\Local\NuGet\Cache‘。2016年8月10日09:59:09无法找到“Microsoft.Owin.Security.MicrosoftAccount”软件包的3.0.1版本。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache: Package 'Microsoft.Owin.Security.MicrosoftAccount.3.0.1‘在源’C:\user\user\AppData\Local\NuGet\Cache‘上找不到。2016年8月10日09:59:09无法找到软件包“Microsoft.Owin.Security.OAuth”的3.0.1版本。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache: Package 'Microsoft.Owin.Security.OAuth.3.0.1‘源’C:\user\user\AppData\Local\NuGet\Cache‘。2016年8月10日09:59:09无法找到“Microsoft.Web.Infrastructure”软件包的版本1.0.0。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache: Package‘Microsoft.Web.红外.1.0.0’源‘C:\user\user\AppData\Local\NuGet\Cache’。2016年8月10日09:59:09无法找到“Microsoft.Owin.Security.Twitter”软件包的3.0.1版本。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache:包‘Microsoft.Owin.Security.witter.3.0.1’源‘C:\user\user\AppData\本地\NuGet\Cache’。2016年8月10日09:59:09无法找到“现代派”的版本“2.6.2”。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache: Package‘现代派2.6.2’源‘C:\user\user\AppData\Local\NuGet\Cache’。2016年8月10日09:59:09无法找到软件包“回复”的版本“1.2.0”。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache: Package 'Respond.1.2.0‘源’C:\user\user\AppData\Local\NuGet\Cache‘。2016年8月10日09:59:09无法找到“WebGrease”软件包的版本“1.5.2”。2016年8月10日09:59:09 C:\user\user\AppData\Local\NuGet\Cache: Package‘WebGree.1.5.2’源‘C:\user\user\AppData\Local\NuGet\Cache’。2016年8月10日09:59:09

使用的NuGet文件:10-8月-2016年09:59:09 NuGet 10-2016年09:59:09

使用:10-2016年8月-2016年09:59:09 C:\user\user\AppData\Local\NuGet\Cache 10-2016 09:59:09

10-2016年8月-2016年09:59:09安装:10-2016年8月-2016年09:59:09 5 packages.config项目包

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-08-10 14:44:12

我能够通过向nugate命令中添加源参数来解决这个问题。

“C:\user\user\竹-home\nuget\nuget.exe”restore "${bamboo.build.working.directory}\atlassianaspnet\atlassianaspnet.sln“-source "https://www.nuget.org/api/v2;https://www.nuget.org/api/v3

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38875974

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档