Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SolutionBuild.BuildDependencies Property

Gets a BuildDependencies collection that allows you to specify which projects depend on which other projects.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

BuildDependencies BuildDependencies { get; }

Property Value

Type: EnvDTE.BuildDependencies
A BuildDependencies collection.

Sub BuildDependenciesExample(p1 As Project, p2 As Project)
  ' Make Project1 dependent upon Project2.
  Dim sb As SolutionBuild = DTE.Solution.SolutionBuild
  sb.BuildDependencies.Item(p1.UniqueName).AddProject(p2.UniqueName)
End Sub

Show:
© 2015 Microsoft