How can you force StyleCop for ReSharper to ignore files?

别等时光非礼了梦想. 提交于 2019-11-30 08:38:43
Chris Wegener

This was what I was looking for, except in Resharper 6 the correct keystroke to disable inspection in a specific file is: Ctrl + Shift + Alt + 8

"Are you sure you have have unchecked the StyleCop settings option that specifies stylecop should check designer files? (StyleCop Options > Rules > Detailed Settings > Analyze Designer Files)?"

http://stylecopforresharper.codeplex.com/Thread/View.aspx?ThreadId=47346

You can completely disable ReSharper for a particular file by pressing CTRL + 8. You'll see the little 'eye' in the top right of the code window (at the top of the gutter) go grey, indicating it's disabled.

Press the keystroke again to re-enable it.

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