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
精彩评论