Visual Studio找不到最新的NuGet包

时间:2016-03-13 12:23:11

标签: c# visual-studio-2015 nuget

大约8小时前,我向NuGet发布了一个新的预发布版:https://www.nuget.org/packages/XrmUnitTest.2015/1.1.4-alpha05 现在我试图从Visual Studio中引用它,但它没有找到1.1.4-Alpha05版本,​​只有1.1.4-Alpha03。

enter image description here

enter image description here

即使尝试手动更新也无效:

PM> Install-Package XrmUnitTest.2015 -Version 1.1.4-alpha05 -Pre
Attempting to gather dependencies information for package 'XrmUnitTest.2015.1.1.4-alpha05' with respect to project 'Defender.Xrm', targeting '.NETFramework,Version=v4.5.2'
Install-Package : Package 'XrmUnitTest.2015' is not found in the following primary source(s): 'https://api.nuget.org/v3/index.json'. Please verify all your online package sources 
are available.
At line:1 char:1
+ Install-Package XrmUnitTest.2015 -Version 1.1.4-alpha05 -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

1 个答案:

答案 0 :(得分:0)

看起来NuGet遇到了问题。

enter image description here

如果将来再次发生这种情况,请参阅http://status.nuget.org/