Cannot Update/Delete/Install RC1 from 'NuGet Package Manager', version 0.5.46.0

Dec 11, 2010 at 2:52 PM

Cannot Update/Delete/Install RC1 from 'NuGet Package Manager', version 0.5.46.0.

12/11/2010 9:47:37 AM - Microsoft Visual Studio Extension Installer12/11/2010 9:47:37 AM - -------------------------------------------12/11/2010 9:47:37 AM - Initializing Install...12/11/2010 9:47:37 AM - Extension Details...12/11/2010 9:47:37 AM - Identifier      : NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a512/11/2010 9:47:37 AM - Name            : NuGet Package Manager12/11/2010 9:47:37 AM - Author          : Microsoft Corporation12/11/2010 9:47:37 AM - Version         : 1.0.10128.8912/11/2010 9:47:37 AM - Description     : A collection of tools to automate the process of installing, upgrading, configuring, and removing packages from a VS Project.12/11/2010 9:47:37 AM - Locale          : en-US12/11/2010 9:47:37 AM - MoreInfoURL     : http://nuget.codeplex.com/documentation12/11/2010 9:47:37 AM - InstalledByMSI  : False12/11/2010 9:47:37 AM - MinFramework    : 4.012/11/2010 9:47:37 AM - MaxFramework    : 4.012/11/2010 9:47:37 AM - 12/11/2010 9:47:37 AM - Supported Visual Studio Editions : 12/11/2010 9:47:37 AM - Version : 10.012/11/2010 9:47:37 AM - Pro12/11/2010 9:47:37 AM - VWDExpress12/11/2010 9:47:37 AM - 12/11/2010 9:47:37 AM - Supported Isolated Shells : 12/11/2010 9:47:37 AM - 12/11/2010 9:47:37 AM - References      : 12/11/2010 9:47:37 AM - 12/11/2010 9:47:37 AM - Searching for applicable products...12/11/2010 9:47:37 AM - Found installed product - Microsoft Visual Studio 2010 Ultimate12/11/2010 9:47:37 AM - The extension will be upgraded from version 0.5.46.0.12/11/2010 9:47:38 AM - The following target products have been selected...12/11/2010 9:47:38 AM - Microsoft Visual Studio 2010 Ultimate12/11/2010 9:47:38 AM - 12/11/2010 9:47:38 AM - Uninstalling 'NuGet Package Manager', version 0.5.46.0.12/11/2010 9:47:38 AM - System.IO.IOException: Cannot create a file when that file already exists.
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.Uninstall(IInstalledExtension extension)   at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)12/11/2010 9:47:38 AM - Install Error : System.IO.IOException: Cannot create a file when that file already exists.
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.Uninstall(IInstalledExtension extension)   at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)

Developer
Dec 11, 2010 at 4:30 PM
Edited Dec 11, 2010 at 4:31 PM

Remove the folder labeled "Outercurve Foundation" located under $VS2010InstallDir\Common7\IDE\Extensions. I haven't been able to reproduce this particular issue in the recent past, but it seems likely that this is an issue with VS handling uninstalls (http://social.msdn.microsoft.com/Forums/en/vsx/thread/faf70d91-1f24-456b-8b39-0d30c8b715bf)

Could you list the steps that you performed prior to the uninstall? Might be useful to find out if we accidentally end up locking files which prevents VS from uninstalling.

Dec 11, 2010 at 5:59 PM

That worked.

Only one step caused the problem, I updated from VS  Extension Manager (2010 Ultimate version).

On another box, I uninstalled first then installed RC1 no problem.