NuGet升级问题 [英] NuGet upgrade issue

查看:96
本文介绍了NuGet升级问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有MVC3(1.0)附带的NuGet版本,但是当我尝试升级到最新版本(当前为1.4)时,它会失败,并且我会在日志文件中得到它:

I have the version of NuGet that comes with MVC3 (1.0), but when I try to upgrade to the latest version (currently 1.4) it failes and I get this in the log file:

2011年6月27日1:25:08-VSIXInstaller.SignatureMismatchException:已安装的"NuGet程序包管理器"版本已签名,但更新版本具有无效的签名.因此,扩展管理器无法安装更新. 在VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension,IInstallableExtension updateExtension) 在VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

6/27/2011 1:25:08 PM - VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' is signed, but the update version has an invalid signature. Therefore, Extension Manager cannot install the update. at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension) at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

2011年6月27日1:25:08-安装错误:VSIXInstaller.SignatureMismatchException:已安装的'NuGet软件包管理器'版本已签名,但更新版本具有无效的签名.因此,扩展管理器无法安装更新. 在VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension,IInstallableExtension updateExtension) 在VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

6/27/2011 1:25:08 PM - Install Error : VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' is signed, but the update version has an invalid signature. Therefore, Extension Manager cannot install the update. at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension) at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

2011年6月27日1:26:27-VSIXInstaller.SignatureMismatchException:已安装的"NuGet程序包管理器"版本已签名,但更新版本具有无效的签名.因此,扩展管理器无法安装更新. 在VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension,IInstallableExtension updateExtension) 在VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

6/27/2011 1:26:27 PM - VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' is signed, but the update version has an invalid signature. Therefore, Extension Manager cannot install the update. at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension) at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

我什至尝试卸载NuGet(通过添加或删除程序")并手动安装1.4,但我莫名其妙地得到了相同的消息.知道我在做什么错吗?

I even tried uninstalling NuGet (via Add or Remove Programs) and installing 1.4 manually, but I inexplicably get the same message. Any idea what I'm doing wrong?

推荐答案

这已记录在我们的已知问题"页面上: http://docs.nuget.org/docs/reference/known-issues

This is documented on our Known Issues page: http://docs.nuget.org/docs/reference/known-issues

您可能会遇到此问题有两个原因.您已安装未签名或错误签名的NuGet版本.例如,如果您是从我们的持续集成服务器(http://ci.nuget.org/)上构建的,或者您安装了以前的CodePlex版本之一.

There's two reasons why you might run into this issue. You've installed an unsigned or wrongly signed version of NuGet. For example, if you grab a build off of our continuous integration server (http://ci.nuget.org/) or if you installed one of our previous CodePlex releases.

还有另一个问题,影响某些Windows XP或Windows 2003用户,这些机器上的证书颁发机构似乎错误地将证书报告为无效.我们仍在调查此问题.

There's another issue affecting some users of Windows XP or Windows 2003 where it appears the certificate authority on the machines are incorrectly reporting the certificate as not valid. We're still investigating this issue.

这篇关于NuGet升级问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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