ReSharper cannot resolve symbol

不想你离开。 提交于 2019-12-03 07:17:45

In Visual Studio 2017 I solved in this way:

  • Close the solution
  • Delete the ".vs" hidden folder
  • Reopen the solution and rebuild it

Looks like Jetbrains is aware of this: youtrack.jetbrains.com/issue/RSRP-408661

However, it gave me an idea. I set CopyLocal on the assembly to "true" and now my references resolve.

I had the same issue with v2017.1. Spent some time trying different solutions like clearing cache, suspending and resuming, but no success.

What helped me: I updated to v2017.3.1 (latest on time of writing). So if you facing a problem which you cant fix by simple suspending or clearing cache, consider updating to latest version, probably it was a small bug, and now it is fixed.

For me I got to reinstall MSBuild. Then it worked again.

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