How to disable Style Cop visual studio extension?

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


You can't, StyleCop deliberately hides itself from the uninstall menu in Visual Studio.

You can uninstall it in Add/Remove programs. You might get an error the next time you open Visual Studio but it will be gone after that.