Resharper 7.1 Solution Analysis False Errors

旧街凉风 提交于 2019-11-30 08:17:39
Ciprian Khlud

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

Kimi

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.

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

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!