Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper cannot resolve symbol

I'm currently building an ASP.NET 5 (ASP.NET Core 1.0) MVC application. I'm using Visual Studio 2015 with ReSharper Ultimate 10.0.2.

I currently have a 2-tier layer solution which consists of a Www (web application) and a Services layer. The Www has a reference to the Services layer.

When ReSharper is suspended, the classes within the Www layer are able to invoke objects from the Services layer, as shown here:

enter image description here

However, when ReSharper is enabled, I get the following message: Cannot resolve symbol 'Services', as shown here:

enter image description here

What I've tried:

  1. Clearing the caches from Tools -> Options -> ReSharper Ultimate -> Options -> Clear Caches
  2. Remove the JetBrains folder from %APPDATA%
  3. Restarting Visual Studio 2015
  4. Reinstalling ReSharper
  5. Suspending and resuming ReSharper
  6. Adding and removing references
  7. Rebuilding the solution

Any help is appreciated.

like image 371
Rhys Avatar asked Feb 05 '16 15:02

Rhys


1 Answers

In Visual Studio 2017 I solved in this way:

  • Close the solution
  • Delete the ".vs" hidden folder
  • Reopen the solution and rebuild it
like image 63
ilCosmico Avatar answered Sep 21 '22 05:09

ilCosmico