I was working on a Web project in Visual Studio 2008 today and upgraded an
assembly reference by deleting the existing reference to Lucene.NET and
adding a reference to the latest version Lucene.NET. When I did this,
ReSharper 5.0 highlighted every reference to Lucene as an error as if it
can't find the Lucene.Net.dll. I cleared the caches, manually deleted all
the _ReSharper.* cache folders, deleted and added the reference again to no
avail. This is a very small web project with 174 lines of code in a single
aspx.cs code-behind file and 2 lines of code in the aspx page.