两天以来我遇到了一个奇怪的问题。我正在使用 WebMatrix 2(最新,所有更新都已检查)。我运行 NuGet 来检查可用的更新。我看到了一些更新,一切都得到了正确更新,除了 NuGet.Core。
我看到最新的 NuGet 版本 2.2.0 可用。我运行更新,它给了我错误。说找不到与 NuGet.Core.2.2.0 兼容的 Microsoft.AspNet.WebPages.Administration 版本。此错误的详细信息是:
An error occurred.
Updating 'NuGet.Core 1.6.2' to 'Nuget.Core 2.2.0' failed. Unable to find a version of 'Microsoft.AspNet.WebPages.Administration' that is compatible with 'Nuget.Core 2.2.0'.
System.InvalidOperationException: Updating 'NuGet.Core 1.6.2' to 'Nuget.Core 2.2.0' failed. Unable to find a version of 'Microsoft.AspNet.WebPages.Administration' that is compatible with 'Nuget.Core 2.2.0'.
at NuGet.InstallWalker.OnBeforePackageWalk(IPackage package)
at NuGet.PackageWalker.Walk(IPackage package)
at NuGet.InstallWalker.ResolveOperations(IPackage package)
at NuGet.ProjectManager.Execute(IPackage package, IPackageOperationResolver resolver)
at NuGet.ProjectManager.AddPackageReference(IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
at NuGet.ProjectManager.UpdatePackageReference(IPackage package, Boolean updateDependencies, Boolean allowPrereleaseVersions)
at NuGet.ProjectManager.UpdatePackageReference(String packageId, Func`1 resolvePackage, Boolean updateDependencies, Boolean allowPrereleaseVersions, Boolean targetVersionSetExplicitly)
at NuGet.ProjectManager.UpdatePackageReference(String packageId, SemanticVersion version, Boolean updateDependencies, Boolean allowPrereleaseVersions)
at Microsoft.WebMatrix.PackageManagement.WebProjectManager.<>c__DisplayClass4.<UpdatePackage>b__3()
at Microsoft.WebMatrix.PackageManagement.WebProjectManager.PerformLoggedAction(Action action)
at Microsoft.WebMatrix.PackageManagement.WebProjectManager.UpdatePackage(IPackage package, AppDomain appDomain)
at Microsoft.WebMatrix.NuGet.NuGetPackageManager.UpdatePackage(IPackage package)
at Microsoft.WebMatrix.NuGet.NuGetGallery.ExtensibleNuGetPackageManager.UpdatePackage(IPackage package)
at Microsoft.WebMatrix.NuGet.NuGetModel.UpdatePackage(IPackage package, Boolean isFeatured, Boolean inDetails)
at Microsoft.WebMatrix.NuGet.PackageViewModel.ExecuteAction(Boolean inDetails)
at Microsoft.WebMatrix.NuGet.NuGetViewModel.ExecuteNuGetAction(Object completionAction)
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
这是什么意思?这里有什么问题。