风格警察规则不起作用

发布于 11-17 12:15 字数 353 浏览 5 评论 0原文

我将父设置文件添加到解决方案文件夹中。之后,我取消选中父文件中的规则 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.

Error with settings window

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

那请放手2024-11-24 12:15:12

问题出在 Style Cope For Resharper 中。我在另一台电脑上测试了相同的解决方案,一切正常

The problem is in Style Cope For Resharper. I tested the same solutions on another PC and all works fine

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文