ReSharper "can not resolve symbol" even when project builds

My Tools:

Visual Studio 2012 Ultimate + Update 1

ReSharper v7.1.25.234

My Solution Build Status: Build Successfully

But when I install ReSharper and ReSharper code analysis is enable, many keywords of my code are red with this error:

"can not resolve symbol XXX"

在这里输入图片说明


Another picture of my project >>

The ReSharper “CAN NOT RESOLVE SYMBOL” errors are everywhere, but my project build process is successfully, and it works correctly.

在这里输入图片说明

Additional Note: If I disable ReSharper Code Analysis, my project will be Normal, but I want to use ReSharper code analysis.


I tried ReSharper → Options → General → Clear Cache. But I still have this problem!


  • One month ago, I got these errors when I uninstalled Visual Studio 2012 RC and installed VS 2012 RTM.

  • I've already uninstalled and installed ReSharper again. But I have this problem yet!

  • My solution has five projects >> two loaded projects (main project + resource project) and three unloaded projects


  • I realize that my Visual Studio also has bigger problems (More information on Stack Overflow)

  • I can't add any reference to my projects (even inside new solutions and new projects)

  • I can't install any package (by "Packet Manager Console" or Manage NuGet Package)

  • I can't update any package (by "Packet Manager Console" or Manage NuGet Package)

  • I've done a lot of suggestions (of myself and others)

  • Re-resister some DLL files

  • Using some windows and registry repair tools

  • Remove ReSharper

  • Repair Visual Studio

  • and...

  • But I could not solve it.

    I'm thinking of installing a new Windows :(


    What is wrong, and how can I fix it?


    Try Visual Studio → menu Tools → Options → ReSharper, Suspend button and Resume again (no need to close the window). This works in my case.


    VS -> Tools -> Options -> ReSharper Suspend button 
    Clear Contents of -> AppDataLocalJetBrainsReSharperv7.1SolutionCaches
    VS -> Tools -> Options -> ReSharper Resume  button
    

    This worked for me (VS2012u4, R# 7.1.3):

  • Resharper > Options > Environment: General > Clear Caches
  • Restart Visual Studio
  • 链接地址: http://www.djcxy.com/p/6622.html

    上一篇: 指定的参数超出了有效值的范围。 参数名称:网站

    下一篇: 即使在项目构建时,ReSharper“无法解析符号”