Undefined Method Call will not go away...

Using ReSharper 4.5.1288.2 and VS 2008, I changed a method name in my DLL from "getStatesList()" to "GetStatesList()" and rebuilt the DLL. In my using solution, R# still thinks the DLL method is getStatesList and not GetStatesList so it flags the use as a red colored error.

I've tried removing the reference and adding it back but R# still is confused, even though VS sees the new name and builds cleanly and runs OK.

How do I get R# to see the new method name?

6 comments
Comment actions Permalink

Something goes wrong with ReSharper caches. Just clear them please.

0
Comment actions Permalink

How do I clear the R# cache?

0
Comment actions Permalink

Visit your solutuion folder and delete the _<solutionname>.ReSharper folder

0
Comment actions Permalink

I deleted the folders and files for resharper and the problem still exists... what next?

0
Comment actions Permalink

Have you restarted VS after deleting caches?


0
Comment actions Permalink

Yes, I tried it many times.

I finally got it to works by doing the following -

  1. exit solution
  2. remove R# from my DLL and my solution (and also removed suo file and DLL), then rebooted
  3. enter VS and rebuild DLL, then exit
  4. enter VS and load solution did rebuild solution, then the solution source view was OK
0

Please sign in to leave a comment.