Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable Style Cop visual studio extension?

Tags:

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

like image 926
Colonel Panic Avatar asked Oct 10 '12 10:10

Colonel Panic


People also ask

How do I turn off StyleCop?

right-click on a project in Project Explorer. select "StyleCop Settings" on the "Rules" tab of the dialog that opens, uncheck the "C#" root of the Enabled rules tree.


1 Answers

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

like image 161
Jan Avatar answered Sep 28 '22 01:09

Jan