4

This morning, when opening Visual Studio 2012 I see lots of "red code" based around "Cannot resolve symbols". The code compiles and runs fine. I am using Resharper, so not sure if it is an issue with RS?

I did have an issue with my laptop OS over the weekend with a display adapter and windows update corrupting it. I am running windows 7. I did do a restore, but only back a 2 days.

I have closed all files, restarted VS2012 and still not joy.

What do you think might have gone wrong?

Many thanks in advance.

EDIT:

sorted: ReSharper "can not resolve symbol" even when project builds

Community
  • 1
  • 1
SamJolly
  • 6,347
  • 13
  • 59
  • 125

1 Answers1

2

When I see this behavior I follow these steps to clear it up... perhaps it will work for you too:

  1. Double Click the Red ReSharper icon in the bottom right of Visual Studio... this opens up the "Errors in Solution" window.
  2. Click the toolbar icon to "Re-analyze Files with Errors" (the icon looks like a combination of a refresh icon and an exclamation icon).
  3. Rejoice

p.s. Restarting Visual Studio has done the trick for me as well, but these steps are less invasive.

Steve
  • 198
  • 9
  • I just switched the IntelliSense back to visual studio and its working like a charm, I can't believe I was fighting this for over an hour. >_> ! – Niklas Sep 15 '17 at 12:02