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)

property BuildDependencies^ 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
Return to top
Show: