How to define circular links in a huge project

I have a huge e-commerce project (WSP) that I have inherited, so it has almost 800k lines of brown field code with many components. When I compile, I get error-free warning about circular links, and compilation stops. If I build again, it will complete and start.

I donโ€™t know where to start this circular link. I understand what it is, and not how to find such a needle in the haystack of my project.

How to determine the cause of a circular link without failing?

+5
source share
1 answer

You can try Architectural Explorer (Visual Studio> Architecture> Create a dependency graph) or a project like NDepend (not free).

In Visual Studio 2015 Enterprise, you can right-click on your solution and select Show Project Dependency Diagram if you have ReShaper.

+2
source

Source: https://habr.com/ru/post/1264309/


All Articles