Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to permanently remove extension from Visual Studio 2012?

I have noticed the following behavior of Visual Studio 2012: I create VS2012 Package Project (from SDK). When I compile and run it, an experimental VS instance is launched, so I can test implemented package. But If I uninstall package from experimental VS instance (using Tools -> Extensions and Updates -> Uninstall), then I try recompile and rerun package, I get compilation error without any errors shown in Output and Error List. Thus, it is impossible to launch my package under development again. This issue can be reproduce with every newly created VS2012 Package Projects.

In summary, I am not able to run my Package in experimental VS Instance, because I previously uninstalled it. It appears to be a packages metadata caching problem. How can I solve this issue?

Edit:

Steps to reproduce this problem:

  1. Create new Visual Studio 2012 Package Project (VS2012 SDK have to be installed).
  2. Compile and run project. VS Experimental instance should be launched.
  3. In VS Experimental instance, go to Tools -> Extensions and Updates, and uninstall just created extension.
  4. Close VS Experimental instance.
  5. Try to compile and run Package project again. There should be compilation or launch errors, but no information in Output neither Error List.

At this moment it is impossible to run VS Experimental instance with this Package Project again.

like image 862
sgnsajgon Avatar asked Jan 13 '23 06:01

sgnsajgon


1 Answers

The "nuke from orbit" option is always to completely delete the folders:

C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0Exp
C:\Users\[username]\AppData\Roaming\Microsoft\VisualStudio\11.0Exp
like image 190
Jason Malinowski Avatar answered Jan 16 '23 17:01

Jason Malinowski