Tool or plugin to extract class and all of its dependencies from VS project

风流意气都作罢 提交于 2019-12-11 03:53:39

问题


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?


回答1:


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

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.



来源:https://stackoverflow.com/questions/4068944/tool-or-plugin-to-extract-class-and-all-of-its-dependencies-from-vs-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!