Reputation: 61606
At some point "Find All References" feature got broken for a single solution that I have. It works in all other solutions. For this one, it always returns "Search found no results"
What could be the problem?
Upvotes: 3
Views: 3419
Reputation: 8007
For me, I have been stumbled by "Search returned no results" but quickly realized that method name was Finalize(). Once renamed, all was well.
Upvotes: 0
Reputation: 52366
Had the same problem in VS 2008. In my case it was because I was opening the web site as a project, instead of doing File - Open Web Site.
Upvotes: 1
Reputation: 6424
In the old days (VC6 :) ) this type of problem was often fixed by deleting the .ncb file and letting it be rebuilt automatically. Not sure if this is still true in VS2005/8.
Upvotes: 5
Reputation: 351516
I would kill all instances of Visual Studio and try again. If this doesn't work, I would imagine that there really are no references to the type or member you are looking for.
Since this feature is working for other solutions I find it hard to believe that this is an issue with the IDE itself. I think the most likely explanation is that the IDE is correct and you actually have no references.
Do you have two types that are similarly named but not actually the same type? Can you find the references by text search?
Upvotes: 1