How to detect circular references between assemblies in a .NET solution?
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 ref开发者_JAVA百科erences B
- B references C
- C references 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.
精彩评论