|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Deactivate and Remove an Add-in
When you are done using an add-in, you can unload it from Visual Studio by removing the check from the box next to the add-in's name in the Add-in Manager. You may decide to remove the add-in permanently so that it no longer displays in the Add-in Manager, as well as its command on the Tools menu or on the Visual Studio toolbar. The following procedure outlines how to do this.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. These procedures were developed with the General Development Settings active. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see.
To remove an add-in from the integrated development environment (IDE)
Delete the .Addin XML registration file for the add-in that you want to remove.
The default location is <drive>:\Documents and Settings\<username>\My Documents\Visual Studio 2005\Addins.
At a Visual Studio 2005 Command Prompt, type devenv /resetaddin Namespace.ClassName, where Namespace and Classname are replaced with the name of your add-in project and its class name, respectively. For example, devenv /resetaddin MyAddin1.Connect.
Compiling the Code
The IDE will start normally and the add-in and any command or toolbar buttons associated with it are deleted. To completely remove the add-in, however, you must manually delete all project files associated with the add-in, such as its DLL and solution file, because the /resetaddin switch only removes the add-in from the Visual Studio UI. The default location is <drive>:\Documents and Settings\<username>\My Documents\Visual Studio 2005\Projects.