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

后端 未结 1 1143
失恋的感觉
失恋的感觉 2021-01-05 12:53

I believe, the error message not related to Serilog specifically, but is rather because of the code/assembly/package specific structure/modifiers etc.

相关标签:
1条回答
  • 2021-01-05 12:59

    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\
    
    0 讨论(0)
提交回复
热议问题