风格警察规则不起作用
我将父设置文件添加到解决方案文件夹中。之后,我取消选中父文件中的规则 SA1101。另外,我在父文件中设置了“不与任何文件合并”,并在项目的设置文件中的父文件中设置了合并。
但在我构建项目后,我收到此错误。我附加了带有错误和设置 winwows 的窗口 - 没有重载或类似的东西。
我现在真的不知道我能做什么来解决这个问题......
添加。
但在 resharper 中,所有规则都正常工作。但是当我尝试构建解决方案时 - 我的设置被忽略。 我使用的是 StyleCop 版本 4.5.24.0
I added Parent Settings File to the solutions folder. After that I unchecked there rule SA1101 in the parent file. Also I set "Do not merge with any file" in parent file, and set merge in the parent file in the project`s settings file.
But after I build project I get this error. I attached window with error and settings winwows - there are no overloads or something like this.
I really don`t now what I can do, to resolve this issue....
ADDED.
But in resharper all rules work normal. But when I try to build solutions - my settings are ignored.
I used StyleCop Version 4.5.24.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

问题出在 Style Cope For Resharper 中。我在另一台电脑上测试了相同的解决方案,一切正常
The problem is in Style Cope For Resharper. I tested the same solutions on another PC and all works fine