Freigeben über


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)

Syntax

'Declaration
ReadOnly Property BuildDependencies As BuildDependencies
BuildDependencies BuildDependencies { get; }
property BuildDependencies^ BuildDependencies {
    BuildDependencies^ get ();
}
abstract BuildDependencies : BuildDependencies with get
function get BuildDependencies () : BuildDependencies

Property Value

Type: EnvDTE.BuildDependencies
A BuildDependencies collection.

Examples

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

.NET Framework Security

See Also

Reference

SolutionBuild Interface

EnvDTE Namespace