In Ndepend dependency matrix, how can I hide some row assemblies?
-
23-03-2021 - |
Question
I'd like to hide some of the row assemblies in my dependency matrix so that I can spot quickly the dependencies between assemblies of my project and a subset of 3rd party assemblies.
Solution
There are two possible actions:
- First you write a code query over LINQ (CQLinq) to select assemblies you wish to see in the matrix
- Second you export the list to the matrix headers (horizontal and vertical)
You can also hold Ctrl or Tab key + mouse click to select a sub-set of code element sin a matrix header, the same way you'd do with selecting files in Windows Explorer.
These filtering actions can also be done if matrix headers are populated with namespaces, types, methods or fields.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow