工具或插件的VS项目中提取类和所有的依赖 [英] Tool or plugin to extract class and all of its dependencies from VS project

查看:254
本文介绍了工具或插件的VS项目中提取类和所有的依赖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常大的项目,大量的文件。我只需要提取几班到一个单独的DLL,但问题是,这些类对其它文件的依赖,试图手动进行的,我已经花了几个小时,仍然存在与缺少文件无限的错误。有没有什么解决方案自动完成这一过程?

I have a very large project with lots of files. I need to extract only a few classes into a separate DLL, but the problem is that the classes have many dependencies on other files. Trying to make it manually, I've already spent several hours, and still there are limitless errors related to missing files. Is there any solution to automate this process?

推荐答案

我不知道,能实现全过程的工具,但你可以使用的 NDepend的来帮助你。

I don't know of a tool that will automate the whole process, but you could use NDepend to help you.

与您要提取的类开始,NDepend的可生成一个列表,告诉你这个类的依赖关系,以及这些类的依赖关系,等等。

Starting with the class that you want to extract, NDepend can generate a list telling you that class's dependencies, and the dependencies of those classes, and so on.

这篇关于工具或插件的VS项目中提取类和所有的依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆