开发者

exporting the dependencies of a Visual Studio solution

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 th开发者_运维百科e 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


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

ProjectSection(ProjectDependencies) = postProject
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜