Temporarily disable StyleCop warnings on ReSharper 6

喜夏-厌秋 提交于 2019-12-01 14:09:02

问题


I downloaded StyleCop 4.6.3 which integrates with ReSharper 6 and the results are really fantastic!

However on a specific project I would like to disable the StyleCop warnings (temporarily) and enable again later on.

Is there any way of doing this? I can't seem to find it on the ReSharper menu (options, etc).


回答1:


You can use different Settings.Stylecop settings for each project, just create one that ignores all the rules. Right click on a project and select Stylecop settings to modify them.

I think you can also disable plugins by unticking them from ReSharper->Plugins... (in version 5.1, not sure if it's the same in 6.0)



来源:https://stackoverflow.com/questions/8134633/temporarily-disable-stylecop-warnings-on-resharper-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!