Wednesday, July 25, 2007

Disabling a Visual Studio Add-in

I spent a ridiculous amount of time trying to disable a Visual Studio Add-in that was causing trouble. All of the search results seem to be about how to debug or create an add-in, but sometimes you just want the add-in to go away. Here is how you, too, can make an offending Visual Studio Add-in go away:

  1. Open the registry editor
  2. Navigate to HKLM\SOFTWARE\Microsoft\VisualStudio\[Visual Studio Version]\Packages
  3. Search for the add-in/product name using the Find dialog, searching "Data"
  4. You should hit the product/add-on name with any luck. The key is "ProductName" and it will be nested in a folder corresponding to its GUID.
  5. Delete the folder of the GUID.
  6. Restart Visual Studio.

1 comment:

Lloyd said...

I agree, should be easier!
Anyway, I just did:
Tools
=> Options
=> Environment
=> Add-in/Marcros Security
=> Uncheck "Allow Add-in components to load"

Faster startup and no missing feature that I know of. Even the plugins such as AnkhSVN keep
working!