Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot resolve symbol issue with resharper but code compiles

I know this has been asked before, but there was no solution to the problem, and it was last year, so I thought maybe someone has found something to solve this by now. I am using VS2010 with SP1. before installing the SP1 there was no problem. if I uninstal re# it works fine. I have an ASP.Net website and some other projects. The classes from the other projects are not recognized, resharper suggests using the other project, so I do so, it puts it up at the usings, then the using also gets a "cannot resolve symbol". I have tried the suggestions they gave in 2011 here but nothing. if I delete the _Resharper. and restart vs, it will work for 5 seconds, then all red again...

hope someone found a solution to this since then...thanks

Edit: I have noticed it does this with Web Services

like image 678
bokkie Avatar asked May 16 '12 08:05

bokkie


1 Answers

Although this question is rather old it happended to me today. I solved it by going to menu Tools -> Options -> Resharper

Click on Options and press Clear Caches button followed by Save.

Then just click on the Suspend Now followed by Resume Now button to restart Resharper and your code should be ok again.

EDIT: happened to me again. Clearing caches helped. The only thing changed is that "Clear caches" is hidden under General tab in resharper options.

like image 176
Martin Nuc Avatar answered Sep 20 '22 17:09

Martin Nuc