Dependency graph of Visual Studio projects

前端 未结 16 2282
鱼传尺愫
鱼传尺愫 2020-11-28 17:42

I\'m currently migrating a big solution (~70 projects) from VS 2005 + .NET 2.0 to VS 2008 + .NET 3.5. Currently I have VS 2008 + .NET 2.0.

The problem is that I need

相关标签:
16条回答
  • 2020-11-28 18:29

    I wrote a tool that might help you. VS Solution Dependency Visualizer analyzes project dependencies within a solution and create a dependency chart from this information, as well as a text report.

    0 讨论(0)
  • 2020-11-28 18:29

    You can create a dependency graph of your projects in VS 2010 Ultimate. Architecture Explorer lets you browse your solution, select projects and the relationships that you want to visualize, and then create a dependency graph from your selection.

    For more info, see the following topics:

    How to: Generate Graph Documents from Code: http://msdn.microsoft.com/en-us/library/dd409453%28VS.100%29.aspx#SeeSpecificSource

    How to: Find Code Using Architecture Explorer: http://msdn.microsoft.com/en-us/library/dd409431%28VS.100%29.aspx

    RC download: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=457bab91-5eb2-4b36-b0f4-d6f34683c62a.

    Visual Studio 2010 Architectural Discovery & Modeling Tools forum: http://social.msdn.microsoft.com/Forums/en-US/vsarch/threads

    0 讨论(0)
  • 2020-11-28 18:31

    I had a similar issue, but it was further complicated because several projects were referencing different versions of the same assembly.

    To get an output that includes version information and checks for possible runtime assembly loading issues, I made this tool:

    https://github.com/smpickett/DependencyViewer

    (direct link to github release: https://github.com/smpickett/DependencyViewer/releases)

    0 讨论(0)
  • 2020-11-28 18:33

    I've checked all the answers but none of the options were satisfying to me so I wrote my own tool to preview project-project dependencies.

    https://github.com/Audionysos/VSProjectReferencesViewer

    It's early stage but it worked for my needs :)

    0 讨论(0)
提交回复
热议问题