|
|
| Author: |
Carlos J. Quintero (Microsoft MVP) |
Applies to: |
Microsoft Visual Studio .NET 2002 |
| Date: |
February 2006 |
|
Microsoft Visual Studio .NET 2003 |
| Updated: |
June 2009 |
|
Microsoft Visual Studio 2005 |
| |
|
|
Microsoft Visual Studio 2008 |
| |
|
|
Microsoft Visual Studio 2010 |
Introduction
This article describes how to get rid of a Visual Studio add-in which was not
uninstalled properly (or no uninstaller was provided).
More Information
To manually remove a Visual Studio add-in from your system, you must follow
these steps:
- 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:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>\Addins\<addin>
or
HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\<version>\Addins\<addin>
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
- 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
Studio add-ins
- 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") 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.
Related articles
Go back to the 'Resources for Visual Studio .NET extensibility' section for more articles like this
You can code, design, locate code and document your apps much faster using VB.NET, C#, C++ or Visual J#: 
|