I did following example project:
SubClassLibrary - does not use any other DLL besides the .Net Framework
ClassLibrary - this does use SubClassLibrary
Main Program - this uses ClassLibrary directly
If I run NDepend on the Main Program's solution, it only detects the dependency on "ClassLibrary", but not the dependency on "SubClassLibrary" (via ClassLibrary)
When I move "ClassLibrary" to "Application Assemblies" (within Project Settings in NDepend) the dependency is found.
Is there any other way to resolve the "sub-" dependency?
Thanks, Johannes