Find all links to all projects in the solution

My solution contains several projects (e.g. P1, P2). In project dependencies, I set P2 to depend on P1, so P2 uses some classes in P1. When I do "Find all references" on class / method P1, the result shows only occurrences in P1; not the entries used in P2. Is there a way to find all the links to the whole solution?

+4
source share
1 answer

Project โ†’ Project Dependencies is intended only to describe additional link-dependent links. To specify a link dependency for unmanaged code usage:

Project โ†’ Properties โ†’ General Properties โ†’ Structure and Links โ†’ Links โ†’ Add New Link ... โ†’ Projects

and to use managed code:

Project โ†’ Add Link โ†’ Projects

If this is configured correctly, Visual Studio should be able to find cross-project links.

+4
source

Source: https://habr.com/ru/post/1333205/


All Articles