Upgrade Failure

Dec 15, 2011 at 2:25 PM

Upgrading from 1.5 to 1.6 is failing from within VS.

12/15/2011 10:12:57 AM - Verifying matching extension signatures before updating...Installed Extension Path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\1.5.20902.9026\Update Extension Path: c:\users\george\appdata\local\temp\tmpe083.tmp12/15/2011 10:12:58 AM - VSIXInstaller.SignatureMismatchException: The signature on the update version of 'NuGet Package Manager' does not match the signature on the installed version. Therefore, Extension Manager cannot install the update.   at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)   at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)12/15/2011 10:12:58 AM - Install Error : VSIXInstaller.SignatureMismatchException: The signature on the update version of 'NuGet Package Manager' does not match the signature on the installed version. Therefore, Extension Manager cannot install the update.   at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)   at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

 

Should I uninstall 1.5 and then install 1.6 fresh?

Dec 15, 2011 at 2:37 PM

Yes, you should uninstall 1.5 and install 1.6 fresh.

See here http://docs.nuget.org/docs/release-notes/nuget-1.6 in the Known Installation Issue section

Dec 20, 2011 at 4:11 PM

Thank you. Uninstalling and reinstalling worked.

May 30, 2012 at 4:06 PM

This seems to occur every couple of versions. I was just trying to upgrade from 1.7 to 1.8 and got the same error. I'm not sure why this issue keeps occurring every other version... Love the product, but with constant issues related to upgrading, I'm thinking of looking for a different package manager...

Developer
May 30, 2012 at 4:18 PM

@dcjulia29 - From the http://docs.nuget.org/docs/release-notes/nuget-1.8

"The workaround is to simply uninstall NuGet and then install it from the VS Extension Gallery. See http://support.microsoft.com/kb/2581019 for more information, or to go directly to the VS hotfix."

We really cannot do anything about this because it's a bug in VS SP1. As long as you do not apply the fix, you're going to continue seeing this issue with every update to NuGet and other signed extensions.

May 30, 2012 at 5:39 PM

It might be a bug in VS SP1, however, I do not see this issue in any of the other extensions that I use. I guess it just my bad luck that this extension seems to be the only extension I have trouble upgrading... How do the other extensions get around the "bug"?

Developer
May 30, 2012 at 6:09 PM

Other signed extensions under very specific circumstances (signing certificates that expired and were renewed). They really aren't working around it, just fortunate enough not to have run into it as yet :)

May 31, 2012 at 9:01 PM
pranavkm wrote:

@dcjulia29 - From the http://docs.nuget.org/docs/release-notes/nuget-1.8

"The workaround is to simply uninstall NuGet and then install it from the VS Extension Gallery. See http://support.microsoft.com/kb/2581019 for more information, or to go directly to the VS hotfix."

We really cannot do anything about this because it's a bug in VS SP1. As long as you do not apply the fix, you're going to continue seeing this issue with every update to NuGet and other signed extensions.

I can confirm the HotFix resolved me not being able to upgrade from 1.7 to 1.8