views:

51

answers:

1

Do you know of an effective way to detect circular references between .Net assemblies?

The situation I would like to detect/prevent is such as:

  • A references B
  • B references D
  • D references A
+3  A: 

NDepend is a good tool to detect dependency cycles in your code. There is a trial version you can try out to make sure it handles the specific issue you are having.

You can check out Patrick Smacchia's blog for articles about how to use NDepend and how you can detect and visualize cycles in your code.

Steven Lyons