Ian Vink
Ian Vink

Reputation: 68750

Resharper 7.1 Solution Analysis False Errors

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 identify the fact that the solution is actually fine.

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

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

Upvotes: 24

Views: 6928

Answers (4)

Denis Wang
Denis Wang

Reputation: 1023

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

Upvotes: 10

Dakusan
Dakusan

Reputation: 6691

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.

Upvotes: 0

Kimi
Kimi

Reputation: 14099

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.

Upvotes: 80

Ciprian Khlud
Ciprian Khlud

Reputation: 444

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

Upvotes: 3

Related Questions