Closed o7g8 closed 5 years ago
Sorry, but transitive dependency checking is not supported. It's possible that it will be added later, but not in the short term.
You should check out other tools, eg. NDepend supports transitive type dependency quieries AFAIK.
Hello,
Is it possible to capture transient dependencies on type level? Let's say we have a dependency chain
A->B->C
:I would like to implement a rule disallowing
A->..->C
. I couldn't make it work with currentNsDepCop
. Is it possible?I need to convert big code base to .NET Standard and some of lower layers of the code-base have .NET Standard-incompatible references: to
System.Forms
, etc. I need to know which upper level code transitively depends on the incompatible stuff (and which doesn't). Is it possible to find out with the help of NsDepCop?I see my question is related to #35