问题描述
我需要在 vb6/dotnet 应用程序中记录程序集依赖项.
I have a requirement to document the assembly dependencies in a vb6/dotnet application.
哪些技术/工具适合执行此类文档.
What techniques / tools are good for performing this sort of document.
我打算使用 Visio 进行绘图.
I was planning on using Visio for drawing.
推荐答案
首先,尝试 Dependency Visualizer.我还使用 GraphViz 的 Dot 和一些自定义代码来生成简单的依赖项.自定义代码递归调用 SysInternal 的depends.exe 并解析输出..NET Reflector 与 Graph 插件看起来也很有前途,虽然我还没有尝试过.
As a start, try Dependency Visualizer. I've also used GraphViz's Dot and some custom code for simple dependency generation. The custom code invoked SysInternal's depends.exe recursively and parsed the output. .NET Reflector with the Graph plugin looks pretty promising, too, though I haven't tried that (yet).
我一直遇到的一个事实是,除非自动生成,否则每次我添加到项目时,有时当我只是更改某些内容时,都必须重新创建我的图表.因此,对我来说,我为更新而采用的手动解决方案根本不是解决方案.
What I've always run into was the fact that my graph, unless generated automatically, has to be recreated every time I add to the project and sometimes when I simply change something. So, for me, a manual solution that I became married to for the updates was no solution at all.
我刚刚找到了 .NET Reflector 的依赖结构矩阵插件.
I just found the Dependency Structure Matrix Plug-in for .NET Reflector.
这篇关于记录依赖树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!