Resharper “Cannot resolve symbol” when the code well-compiled

…衆ロ難τιáo~ 提交于 2019-11-30 20:32:38

This following seems to work for me most of the time

Solution 1

Tools->Options->ReSharper 
  • Suspend Now
  • Resume

It refreshes the cache and/or some other dark magic


Solution 2

You could try clearing the ReSharper cache implicitly

ReSharper->Options->Environment->General 
  • Clear Caches.

Solution 3

You can also try unloading and then reloading the project.

Solution Explorer->Right Click
  • Unload Project
  • Reload Project

Solution 4

As a last resort you can try to delete the solution cache manually

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