This project is read-only.


Does not uninstall cleanly


I uninstalled StyleCop from Visual Studio 2012.

After uninstallation it left residue. In the Tools menu there were still StyleCop entries.

Running "devenv /setup" fixed it.
Closed Aug 1, 2013 at 5:03 PM by andyr


andyr wrote Dec 15, 2012 at 1:32 PM

This normally occurs if a crashed devenv.exe process was running during an uninstall. Anyone else getting this?

andyr wrote Aug 1, 2013 at 5:03 PM

Closing. no one getting this it seems.

JayBeeDK wrote Dec 5, 2013 at 3:03 PM

I just got this after uninstalling StyleCop 4.7 from Visual Studio 2012.

VS complained twice (popup) about not being able to load StyleCop during start.
There were StyleCop entries in the Tools menu.

It should be noted that I also had ReSharper 8.0.2, Code Compare 3.1.39, VisualHG 1.1.5 and misc. Red Gate SQL tools installed at the time when I uninstalled StyleCop - all of whom affect VS in some ways.
However uninstalling StyleCop via Control Panel did not report any errors, so it appeared to uninstall cleanly.

Running "devenv /setup" fixed it.

javamarket wrote Jan 21, 2014 at 11:35 PM

I had this problem today. VS2013 & Win 8.1

devenv /setup sorted it

alexkey wrote Feb 11, 2014 at 2:13 PM

I'm having this problem to in VS2013 & Win 8.1

devenv /setup fixed it for me to, I needed to run it in an admin command prompt.

I was worried it might reset / uninstall my extensions but t was ok.

SuperJMN wrote Oct 13, 2014 at 10:21 PM

I'm also suffering from this problem. Very annoying.

camainc wrote Oct 20, 2014 at 5:38 PM

Same issue here. devenv /setup did not work for me.

camainc wrote Oct 20, 2014 at 5:39 PM

This issue should be re-opened.

narhangelov wrote Nov 26, 2014 at 12:50 PM

Same here - VS2013 & Win 8.1

sandygk wrote Dec 14, 2014 at 1:43 PM

same here, VS2013 & Win 8.1 (no ReSharper installed)
VS was open when uninstalling StyleCop.

Workaround: I reinstalled StyleCop and unistalled again with VS closed this time and my finger crossed, it worked like a charm. I am pretty sure it was because of the fingers ;)

deepakyadav wrote Dec 28, 2014 at 5:25 PM

reinstall and uninstall it again works, thanks @sandygk