Visual Studio 项目的依赖关系图

Dependency graph of Visual Studio projects(Visual Studio 项目的依赖关系图)

本文介绍了Visual Studio 项目的依赖关系图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在将一个大型解决方案(约 70 个项目)从 VS 2005 + .NET 2.0 迁移到 VS 2008 + .NET 3.5.目前我有 VS 2008 + .NET 2.0.

问题是我需要将项目一一移动到新的 .NET 框架,确保没有 .NET 2.0 项目引用 .NET 3.5 项目.有没有什么工具可以给我一个很好的项目依赖关系图?

解决方案

你试过 NDepend 吗?它会向您显示依赖关系,您还可以分析类和方法的可用性.

他们的网站:

这是整个 .NET Core 3 类库(176 个程序集)上的样子.

免责声明:我在 NDepend 工作

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 to move projects one by one to new .NET framework ensuring that no .NET 2.0 project references .NET 3.5 project. Is there any tool that would give me a nice graph of project dependencies?

解决方案

Have you tried NDepend? It'll shows you the dependencies and you can also analyze the usability of your classes and methods.

Their website:

http://ndepend.com


To complete the @Eriawan answer in April 2020 NDepend version 2020.1 has been released with Dependency Graph completely rebuilt. It now scales on large solutions made of hundreds of projects and offers many navigation facilities.

Here is what it looks like on the NopCommerce OSS project.

Here is what it looks like on the entire .NET Core 3 classes library (176 assemblies).

Disclaimer: I work at NDepend

这篇关于Visual Studio 项目的依赖关系图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Visual Studio 项目的依赖关系图

基础教程推荐