Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you remove/uninstall Add-Ins for Visual Studio if they are broken?

I had EntitySpaces Add-in for Visual Studio (all versions) installed. Upon uninstalling it, when you start up any version of Visual Studio, you get the message "could not rename add-in file". How do you get rid of this or stop Visual Studio from trying to load the Add-In?

It appears this can be a common problem when applications that install Add-Ins or just Add-Ins on their own, don't uninstall properly or just plain break.

like image 727
Coops Avatar asked Apr 08 '13 13:04

Coops


3 Answers

For Visual Studio 2015 you have to:

  1. Click on Tool -> Extensions and Updates.

  2. Be sure that Installed option is selected in left part of the window.

  3. Find your addin, select it and click on Uninstall button.

  4. Restart Visual Studio.

like image 158
1_bug Avatar answered Sep 18 '22 12:09

1_bug


There are a few helpful articles which may be useful for your particular Add-In:

http://www.mztools.com/articles/2006/mz2006018.aspx

First of all I tried this (which may work for you) How to: Deactivate and Remove an Add-In. Note if you don't know the Namespace or ClassName of the addin, you can find it in the .addin file under FullClassName:

To remove an add-in from the integrated development environment (IDE)

  1. Delete the .addin XML registration file for the add-in that you want to remove. The default location is ..\Users\username\ Documents\Visual Studio 2010\Addins\
  2. At a Visual Studio command prompt, type devenv /resetaddin Namespace.ClassName, where Namespace is the name of your add-in project and Classname is its class name, for example, devenv /resetaddin MyAddin1.Connect

For me this, although not my exact problem, lead to my resolution, which was simply to run Visual Studio as administrator. Doing this for just one version of Visual Studio solved my problem in that the error message no longer appeared (probably because it was then able to successfully rename as per the original error message).

like image 44
Coops Avatar answered Sep 19 '22 12:09

Coops


In Visual Studio 2019, Click on Extensions tab. Then click on Manage Extensions. In the window that opens,select Installed in the left pane. After that search for the Add-in you want to remove. In the results displayed, select the Add-in the hit UNINSTALL. Restart Visual Studio for the process to be completed. The process seems to work for any Add-in.

like image 25
user3267567 Avatar answered Sep 20 '22 12:09

user3267567