导出 Visual Studio 解决方案的依赖项
我现在正在使用 Visual Studio 2008 处理一个大项目。 该解决方案由多个 Visual C# 和 Visual C++ 项目组成。
单击项目节点,然后从菜单中选择“项目依赖项”项,我可以找到要导出的依赖项列表。
您知道如何将此列表导出到文件中吗?
谢谢 环氧乙烷
I have a big project I am working on right now using Visual Studio 2008.
The solutions is composed by several project in Visual C# and Visual C++.
Clicking on a project node , and selecting from the manu the item "Project Dependencies" I can find the list of dependencies I want to export.
Do you know a way to export this list on a file someway?
Thanks
EO
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它们已存储在 Visual Studio 解决方案和项目文件中。
查找
标记。通过一些后处理,您可以从那里复制它们并将它们写入另一个文件。
您还可以使用 EnvDTE.BuildDependency 类以编程方式检索依赖项。
They are already stored in the Visual Studio Solution and Project files.
Look for the
<ProjectReference>
tag.With some post-processing, you could copy them from there and write them to another file.
You can also use the EnvDTE.BuildDependency class to retrieve the dependencies programmatically.
如果您指的是项目依赖项而不是项目引用,则前者只是强加构建顺序,它们存储在解决方案文件中。寻找像这样的行
If you mean Project Dependency as opposed to Project Reference, the former just imposes a build ordering, they are stored in the solution file. Look for lines like