My solution contains multiple projects (say P1, P2). In project dependencies, I set P2 to depend on P1, so P2 uses some classes in P1. When I do a Find All References on a class/method of P1, the result shows only the occurences in P1; not the occurences used in P2. Is there a way to have Find All References work on the entire solution?
Project -> Project Dependencies is only for describing additional non-link related dependencies. To specify a link dependency for unmanaged code use:
Project -> Properties -> Common Properties -> Framework and References -> References -> Add New Reference... -> Projects
and for managed code use:
Project -> Add Reference -> Projects
If this is set up correctly Visual Studio should be able to find inter-project references.