How to disable Style Cop visual studio extension?

Colonel Panic picture Colonel Panic · Oct 10, 2012 · Viewed 13.9k times · Source

How to disable the Style Cop visual studio extension? It's not listed in Tools / Extensions or in Tools / Add-in manager

Answer

Jan picture Jan · Mar 3, 2013

I had the same issue: I uninstalled it using Add/Remove programs and got the expected error, when I opened Visual Studio next time. Still after hiding this error message, the StyleCop entries remained in my context menus.

After some research, I found a solution to remove all remains by running devenv.exe /setup on the command prompt. You must run the console elevated and you might have to switch to the C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE folder (or similar; depending on your system) in order to run the command.

Remember to remove the assotiated Code Cleanup profile if you are using ReSharper.

Source: http://stylecop.codeplex.com/discussions/257772