Error al Instalar NuGet 2.0
Como sabrán la última versión de NuGet, la 2.0 acaba de salir hace unas semanas con un montón de mejoras, pero si ya tenían una versión previa instalada en su ambiente de trabajo se habrán topado que no instala la actualización:
Si vemos el Install Log, tendremos algo como lo siguiente:
14/07/2012 17:27:17 - Searching for applicable products...
14/07/2012 17:27:17 - Found installed product - Microsoft Visual Studio 2010 Ultimate
14/07/2012 17:27:17 - The extension will be upgraded from version 1.2.20325.9034.
14/07/2012 17:27:17 - Found installed product - Microsoft Visual Studio 2010 Express for Windows Phone
14/07/2012 17:27:17 - The extension with ID 'NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5' is not installed to Microsoft Visual Studio 2010 Express for Windows Phone.
14/07/2012 17:27:36 - The following target products have been selected...
14/07/2012 17:27:36 - Microsoft Visual Studio 2010 Ultimate
14/07/2012 17:27:36 - Microsoft Visual Studio 2010 Express for Windows Phone
14/07/2012 17:27:36 -
14/07/2012 17:27:36 - Verifying matching extension signatures before updating...
Installed Extension Path: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\1.2.20325.9034\
Update Extension Path: h:\nuget.tools.vsix
14/07/2012 17:27:37 - 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.
en VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)
en VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)
14/07/2012 17:27:37 - 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.
en VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)
en VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)
14/07/2012 17:27:37 - Beginning to install extension to Microsoft Visual Studio 2010 Express for Windows Phone...
14/07/2012 17:27:41 - Install to Microsoft Visual Studio 2010 Express for Windows Phone completed successfully. The extension has been installed to C:\Program Files\Microsoft Visual Studio 10.0\\Common7\IDE\VPDExpressExtensions\Microsoft Corporation\NuGet Package Manager\2.0.30619.9119\
Para solucionar tal problema, lo recomendable es desinstalar la versión actual de NuGet que tengamos, desafortunadamente si lo tratan de hacer se encontraran con que esta deshabilitado el botón de desinstalación:
Esto se da porque NuGet requiere permisos de administrador para poder ser desinstalado, entonces lo mejor será abrir nuestro Visual Studio con los permisos requeridos:
Espero que les haya ayudado, ¡Suerte!
Si vemos el Install Log, tendremos algo como lo siguiente:
14/07/2012 17:27:17 - Searching for applicable products...
14/07/2012 17:27:17 - Found installed product - Microsoft Visual Studio 2010 Ultimate
14/07/2012 17:27:17 - The extension will be upgraded from version 1.2.20325.9034.
14/07/2012 17:27:17 - Found installed product - Microsoft Visual Studio 2010 Express for Windows Phone
14/07/2012 17:27:17 - The extension with ID 'NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5' is not installed to Microsoft Visual Studio 2010 Express for Windows Phone.
14/07/2012 17:27:36 - The following target products have been selected...
14/07/2012 17:27:36 - Microsoft Visual Studio 2010 Ultimate
14/07/2012 17:27:36 - Microsoft Visual Studio 2010 Express for Windows Phone
14/07/2012 17:27:36 -
14/07/2012 17:27:36 - Verifying matching extension signatures before updating...
Installed Extension Path: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\1.2.20325.9034\
Update Extension Path: h:\nuget.tools.vsix
14/07/2012 17:27:37 - 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.
en VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)
en VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)
14/07/2012 17:27:37 - 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.
en VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)
en VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)
14/07/2012 17:27:37 - Beginning to install extension to Microsoft Visual Studio 2010 Express for Windows Phone...
14/07/2012 17:27:41 - Install to Microsoft Visual Studio 2010 Express for Windows Phone completed successfully. The extension has been installed to C:\Program Files\Microsoft Visual Studio 10.0\\Common7\IDE\VPDExpressExtensions\Microsoft Corporation\NuGet Package Manager\2.0.30619.9119\
Para solucionar tal problema, lo recomendable es desinstalar la versión actual de NuGet que tengamos, desafortunadamente si lo tratan de hacer se encontraran con que esta deshabilitado el botón de desinstalación:
Esto se da porque NuGet requiere permisos de administrador para poder ser desinstalado, entonces lo mejor será abrir nuestro Visual Studio con los permisos requeridos:
Ya con los permisos correspondientes desinstalamos NuGet,
luego procedemos a cerrar Visual Studio e instalamos la última versión de
NuGet:
Espero que les haya ayudado, ¡Suerte!
Comentarios
Publicar un comentario