Can I use R# to find all circular assembly references

its almost got the tools: project hierarchy and the architecture assembly references diagram, but these dont show circular referebces between 2 assemblies.

Is there any way to find them using R#?

0
3 comments

Visual Studio doesn't allow you to create circular references - if project A references project B, VS will block you if you try to reference project A from project B. What's the scenario you're looking at?

0

I know it should, but it doesnt in all cases - as I have certainly had them, and fixed 2 yesterday!

0

Yikes! Well, I can't check, since I don't have a solution with a circular reference, but it looks like the project hierarchy tool window has support for recursive references - it will display an icon for nodes in the tree that it believes are recursive. Failing that, you could write a plugin that retrieves all dependencies from all projects in a solution, and work out the circular references there.

0

Please sign in to leave a comment.