||Carlos J. Quintero (Microsoft MVP)
||Microsoft Visual Studio .NET 2002
||Microsoft Visual Studio .NET 2003
||Microsoft Visual Studio 2005
||Microsoft Visual Studio 2008
||Microsoft Visual Studio 2010
||Microsoft Visual Studio 2012
This article describes how to get rid of a Visual Studio add-in which was not
uninstalled properly (or no uninstaller was provided).
To manually remove a Visual Studio add-in from your system, you must follow
- Locate the installation folder of the add-in. Do not delete the files yet.
- To remove the add-in from the Add-In Manager:
- If the add-in uses COM registration (any Visual Studio version), using RegEdit.exe delete the following registry key:
where <version> can be:
- 7.0 for Visual Studio .NET 2002
- 7.1 for Visual Studio .NET 2003
- 8.0 for Visual Studio 2005
- 9.0 for Visual Studio 2008
- 10.0 for Visual Studio 2010
- 11.0 for Visual Studio 2012
- If the add-in uses XML registration (only Visual Studio
2005 and higher), locate and delete its .AddIn file in any of the folder listed in the
"Tools", "Options" menu, "Environment", "Add-In / Macros security"
section. To know the actual (without placeholders) folders for your Windows operating system, see
INFO: Default .AddIn file locations for Visual
- To remove the COM registration for add-ins using it, open a Visual Studio
Command Prompt ("Run...", "Programs", "Visual Studio .NET", "Visual Studio
.NET Tools", "Visual Studio .NET Command Prompt") with admin rights and type:
cd <full name of the folder of the add-in>
regasm.exe /unregister <addin.dll>
You can also skip the cd (Change Directory command) and use the full path of the
dll in the second command.
- To remove the commands of the add-in you have several approaches:
- Finally you can delete the add-in files from the installation folder.
Don't forget to delete also the add-in assemblies installed in the Global
Assembly Cache (GAC), if any.
Go back to the 'Resources for Visual Studio .NET extensibility' section for more articles like this