大约8小时前,我向NuGet发布了一个新的预发布版: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