的NuGet未能找到现有的软件包 [英] NuGet fails to find existing package

查看:241
本文介绍了的NuGet未能找到现有的软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何它可能是的NuGet的安装封装失败无法找到'X'的包'Y'当确切版本被释放的NuGet官方资料库,并在 https://www.nuget.org/packages/y所示页。

How it's possible that NuGet's Install-Package fails with Unable to find version 'x' of package 'y' when that exact version is released as NuGet to official repository and it shown on the https://www.nuget.org/packages/y page.

下面是nuget.org内容的NuGet 安装封装命令输出特定的样本

Here is specific sample with nuget.org content and NuGet Install-Package command output.

更新。包源被设置为默认值(从nuget.org)。其实你可以看到的问题只是运行安装封装Log4Net.Async -Version 1.3.0

UPDATE. Package sources are set to defaults (from nuget.org). Actually you can see the issue just running Install-Package Log4Net.Async -Version 1.3.0.

更新2 我想强调,这不是一些开发人员的计算机。 - 发生在Visual Studio的在线托管生成控制器同样的事情

UPDATE 2. I want to highlight that it's not about some developer's machine - the same things happening on Visual Studio Online Hosted Build Controller.

更新3 这里是的NuGet如何尝试加载包,它看起来像的NuGet API刚刚打破,因为所有这些请求失败与下面的错误

UPDATE 3. Here is how NuGet tries to load package and it looks like NuGet API just broken, because all these request fails with the error below.

资源段包

另外的NuGet上产生的NuGet API奇怪的输出要求,在VS搜索包阶段的问题,请看这里: http://pastebin.com/qveadrZB

Also NuGet produces the strange output on NuGet API calls that issues at VS search packages stage, please see here: http://pastebin.com/qveadrZB.

推荐答案

目前的NuGet有一些服务问题与搜索和封装恢复功能。这是可能的,这是你的包恢复失败的原因。

NuGet currently has some service issues related to search and package restore functionality. It is possible this is the cause of your package restore failure.

如果其他开发机器工作正常,很可能他们有机会获得这个包的缓存版本。

If other dev machines are working OK, it's likely they have access to a cached version of this package.

这篇关于的NuGet未能找到现有的软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆