title: Can't Update or Uninstall NuGet Package Manager in VS2012
body: <p>I am unable to update or uninstall the NuGet Package Manager for Visual Studio 2012.  I've looked around to several solutions, but have not found one that works.</p>
  
  <p>Running Visual Studio 2012 <em>as the administrator</em>...</p>
  
  <p>Attempting to update the NuGet Package Manager fails, and I get this error dialog with the following at the end of the log:</p>
  
  <p><img src="https://i.stack.imgur.com/01Nqh.png" alt="enter image description here"></p>
  
  <blockquote>
    <p>2/5/2013 10:38:09 AM - Beginning to install extension to Microsoft Visual Studio Ultimate 2012...
    2/5/2013 10:38:09 AM - Upgrading 'NuGet Package Manager', version 2.0.30625.9003 to version 2.2.31210.9045.
    2/5/2013 10:38:10 AM - Install Error : System.IO.IOException: The process cannot access the file because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.__Error.WinIOError()
       at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
       at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.AtomicallyDeleteFiles(IEnumerable<code>1 filePaths, Boolean justMarkForDeletion)
       at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.DeleteDiscoverableFiles(IInstalledExtension extension)
       at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.UninstallInternal(IInstalledExtension extension, Boolean forceDelete)
       at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CommitInstalledAndUninstalledExtensions(IEnumerable</code>1 installedExtensions, IEnumerable<code>1 uninstalledExtensions, IEnumerable</code>1 packComponentChanges)
       at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
       at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)</p>
  </blockquote>
  
  <p>Followed by a popup telling me:</p>
  
  <blockquote>
    <p>The process cannon access the file because it is being used by another process.</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/7HEu5.png" alt="enter image description here"></p>
  
  <p>When I attempt to uninstall the extension first (per <a href="https://stackoverflow.com/questions/8483624/nuget-package-manager-errors-when-trying-to-update">some solutions</a>) I receive the same pop-up message as above, telling me the process is being used!</p>
  
  <p>Steps I've made in my attempts to get this working:</p>
  
  <ol>
  <li>I've restarted VS2012 multiple times, with and without projects loaded.</li>
  <li>I've rebooted the computer several times and started nothing other then VS2012.</li>
  <li>I've downloaded the NuGet installer from the web and tried to install it w/o starting VS2012 (first thing after reboot).</li>
  </ol>
  
  <p>For step #3, I receive the same series of dialogs/errors as when attempting to update inside Visual Studio 2012. </p>
  
  <p>I can't get the latest version, no matter what I try!  Does anyone have another trick?</p>
  
  <p>I've also noticed that NuGet is just plain not working right now.  Neither the "Package Manager Console" or the "Package Manager Settings" do anything.</p>