簡體   English   中英

Visual Studio找不到最新的NuGet程序包

[英]Visual Studio Not Finding Latest NuGet Package

大約8個小時前,我向NuGet發布了一個新的prelease: https ://www.nuget.org/packages/XrmUnitTest.2015/1.1.4-alpha05現在,我正在嘗試從Visual Studio引用它,但不是找到1.1.4-Alpha05版本,​​只有1.1.4-Alpha03。

在此處輸入圖片說明

在此處輸入圖片說明

即使嘗試手動更新也不起作用:

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

看起來NuGet遇到了問題。

在此處輸入圖片說明

如果以后再次發生這種情況,請訪問http://status.nuget.org/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM