Nuget Update Error

Yap. It’s happening again with Nuget Update. I got new update for nuget this morning but I kept on getting error when I update it. When I check the log, I found that it’s the same issue that we had a few months back. I’m not sure how many times we are going to face this issue in future so I’m just sharing it with you guys in case you have the same problem.

Error Logs

16/12/2011 9:38:25 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\michael.sync\appdata\local\temp\tmp479e.tmp
16/12/2011 9:38:25 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)
16/12/2011 9:38:25 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)

Solution

  • Open Visual Studio 2010 with administrator right (You need this. Otherwise, the “Uninstall” button on Nuget will be disabled. )
  • Remove Nuget from Visual Studio 2011 first
  • And install it again from online gallery
That’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *