Visual Studio 2010 update NuGet Package Manager error solution

In the extension manager of Visual Studio 2010, it is found that NuGet Package Manger has the latest version update prompt. Selecting the update installation prompts the following error message:

2013/4/25 1:11:48 - Microsoft Visual Studio Extension Installer
2013/4/25 1:11:48 - ----------------------- --------------------
2013/4/25 1:11:48 - Initializing Install...
2013/4/25 1:11:48 - Extended Details ...
2013/4/25 1:11:48 -Identifier      : NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
2013/4/25 1:11:48 - Name            : NuGet Package Manager
2013/4/25 1:11:48 - Author          : Microsoft Corporation
2013/4/25 1:11:48 - Version         : 2.2.40116.9051
2013/4/25 1:11:48 - Description     : A collection of tools to automate the process of downloading, installing, upgrading, configuring, and removing packages from a VS Project.
2013/4/25 1:11:48 - Location : in-US
2013/4/25 1:11:48 -MoreInfoURL     : http://docs.nuget.org/
2013/4/25 1:11:48 - InstalledByMSI : False
2013/4/25 1:11:48 -MinFramework    : 4.0
2013/4/25 1:11:48 - MaxFramework    : 4.0
2013/4/25 1:11:48 - 
2013/4/25 1:11:48 - Supported Visual Studio version: 
2013/4/25 1:11:48 -Version : 10.0
2013/4/25 1:11:48 - Pro
2013/4/25 1:11:48 - IntegratedShell
2013/4/25 1:11:48 - VWDExpress
2013/4/25 1:11:48 - VPDExpress
2013/4/25 1:11:48 - Version : 11.0
2013/4/25 1:11:48 - Pro
2013/4/25 1:11:48 - IntegratedShell
2013/4/25 1:11:48 - VWDExpress
2013/4/25 1:11:48 - VPDExpress
2013/4/25 1:11:48 - VSWinExpress
2013/4/25 1:11:48 - VSWinDesktopExpress
2013/4/25 1:11:48 - 
2013/4/25 1:11:48 - Supported independent shells: 
2013/4/25 1:11:48 - 
2013/4/25 1:11:48 -Quote : 
2013/4/25 1:11:48 - 
2013/4/25 1:11:48 - The extension will be upgraded from version 2.1.31002.9028.
2013/4/25 1:12:13 - The following target products have been selected...
2013/4/25 1:12:13 -Microsoft Visual Studio 2010 Ultimate
2013/4/25 1:12:13 - 
2013/4/25 1:12:13 - Please verify matching extension signatures before updating...
Installed extensions path: D:\Program Files \Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\2.1.31002.9028\
Update extension path: c:\users\lzd\appdata\local\temp\tmp91c2.tmp
2013/4/25 1: 12:13 - VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' is signed, but the newer version has an invalid signature. Therefore, Extension Manager cannot install updates.
   at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)
   at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)
2013/4/25 1:12:13 - Installation Error: VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' is signed, but the newer version has an invalid signature. Therefore, Extension Manager cannot install updates.
   at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)
   at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)


solution:

Directly open the installation path of Visual Studio extension components, for example: My Visual Studio 2010 is installed on the D drive, so the installation path of extension components is  D:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation . Delete the entire directory of NuGet Package Manager under the Microsoft Corporation directory, restart Visual Studio 2010, and you will not see the NuGet Package Manger component in the extension manager, and now you can reinstall the NuGet Package Manager component.

Finally successfully installed the latest version of the NuGet component and the problem has been resolved.



Guess you like

Origin blog.csdn.net/LZD_jay/article/details/8847589