Resharper 7.1 解决方案分析误报 [英] Resharper 7.1 Solution Analysis False Errors

查看:16
本文介绍了Resharper 7.1 解决方案分析误报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的 VS2012 Web 项目中,我们收到了 Resharper 报告的数百个错误,但软件构建和编译正常.

In our VS2012 web project we are getting hundreds of errors reported by Resharper, but the software builds and compiles fine.

如何让 resharper 正确识别解决方案实际上很好的事实.

How do I get resharper to correctly identify the fact that the solution is actually fine.

所有错误都与未找到类的属性有关.

All the errors are about properties on classes are not found.

我尝试清理溶液并强制 Resharper 重新分析.

I have tried cleaning the solution and forcing Resharper to re-analyze.

推荐答案

Resharper 因多种原因而感到困惑,但有时我遇到的问题是:

Resharper gets confused for many reasons, but some of the times I had issues the solutions I did were:

为一组文件禁用 Resharper:Resharper => 选项 => 代码检查 => 设置 => 编辑要跳过的项目

disable Resharper for a set of files: Resharper => Options => Code Inspection =>Settings => Edit Items to Skip

有时只是一个错误,请确保尚未报告.在这个论坛主题上查找示例/p>

sometimes is just a bug, make sure is not reported already. Look for example on this forum thread

这篇关于Resharper 7.1 解决方案分析误报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆