Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Everything compiles, but Resharper marks everything in red?

Tags:

resharper

I'm using VS 2008 with Resharper 5.1

Al of a sudden, Resharper shows all classes etc I use in red. As if I didn't refecrence the correct project/dll.

BUT: everything is referenced, and the code compiles.

What is going on and how can I solve this?

I already tried this: deleted the _ReSharper-folder and deleted the 5.1.ReSharper.user-file

like image 252
Natrium Avatar asked May 18 '11 05:05

Natrium


2 Answers

The solution that worked for me was to clear re-sharper cache and suspend & resume re-sharper.

Visual Studio > Tools > Options > Re-sharper > General > Options > General > Clear Caches  Visual Studio > Tools > Options > Re-sharper > General > Suspend Now > Resume Now 
like image 166
MIWMIB Avatar answered Oct 12 '22 23:10

MIWMIB


Try deleting the .suo file as well.

like image 25
Jura Gorohovsky Avatar answered Oct 13 '22 00:10

Jura Gorohovsky