Resharper 7.1 Solution Analysis False Errors

前端 未结 4 1769
梦如初夏
梦如初夏 2021-01-01 16:35

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

How do I get resharper to correctly ide

相关标签:
4条回答
  • 2021-01-01 16:44

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

    • like this case

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

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

    0 讨论(0)
  • 2021-01-01 16:51

    for me, the problem is fixed by right clicking on the project, 'Unload Project' and reload thereafter.

    0 讨论(0)
  • 2021-01-01 17:03

    Go to Tools -> Options -> ReSharper -> Options -> General and click Clear Caches. Click Cancel and then in the ReSharper options window click Suspend Now and after that click Resume button.

    This way you'll clear the corrupt cache and restart the ReSharper.

    0 讨论(0)
  • 2021-01-01 17:06

    For me, inspecting the solution gave me hundreds of errors, including many "cannot find file in search paths". I tried every suggestion out there to fix it and none of them worked. I ended up finding out inspecting the project, instead of the solution, worked perfectly.

    0 讨论(0)
提交回复
热议问题