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 项目的依赖关系图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
quot;Overflowquot; compiler error with -9223372036854775808L(编译器错误-9223372036854775808L(Q;溢出Q))
Visual Studio 2010 ReportViewer Assembly References(Visual Studio 2010 ReportViewer程序集引用)
Weird behaviour when I open a reportviewer in WPF(在WPF中打开报表查看器时出现奇怪的行为)
how do i pass parameters to aspnet reportviewer(如何将参数传递给aspnet report查看器)