通过 vs config 禁用 resharper 错误
我们在项目中使用 resharper,但根据我们的模式和实践,我们遵循不同的类、变量等命名约定。但我们仍然需要使用 resharper,是否有任何配置条目可以禁用这些警告。 我知道可以通过在 VS 中配置来禁用它们,但这只会对客户端计算机有帮助,而在我们将构建代码的服务器上,我们将再次收到这些警告。 帮助!!!!!!!!!!!!
We are using resharper in our project, but based on our pattern and pratices we follow different naming conventions for classes,variables and so on. But we still need to use resharper, is there any configuration entry that we can make to disable these warnings.
I know about disabling them by configuring in VS but that will only help for client machine and on server where we will be building our code we again will get those warnings.
Help!!!!!!!!!!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以禁用这些选项。对于每个快速修复通知,您可以修改
ReSharper->Options->Code Inspection->Inspection Severity
来设置是否为“不显示”、“提示”、“建议” 、“警告”或“错误”。不过,如果这让您感到痛苦,请不要在构建服务器上捕获 ReSharper 错误。You can disable those options. For each quick-fix notification, you can modify
ReSharper->Options->Code Inspection->Inspection Severity
to set whether it's a "Do not show", "Hint", "Suggestion", "Warning" or "Error". Although, if it's causing you pain, just don't capture ReSharper errors on your build server.