I've seen a bunch of questions regarding this error, but none of them resolve anything for me.
Stats: VS2010 SP1 (10.0.40219.1), Resharper 5.1.3000.12 (no plugins), using SourceGear Vault 5.1.1 Standard running on Win7 x64.
The solution contains 12 projects and the output is an x86 WinForm exe. The solution compiles perfectly fine.
Fairly often (usually after either a compile or checkin) I get bunch of properties on objects (or objects themselves) highlighted in red saying that it cannot resolve object:
So I click on the "Errors in Solution" indicator and it takes me to this screen:
I go to the first error, try to do "Find Usages" on the ReportDecorator object and, of course, it's grayed out. However, I can get to the object definition using VS' native Go to Definition menu command.
The problem goes away if I either restart Visual Studio or blow away .resharper files, but it always invariably returns.
I have also observed this problem on VS2008.
What am I missing and how do I fix it?