Export (0) Print
Expand All
ID
Top
Expand Minimize

BuildDependencies Property

Visual Studio .NET 2003

Returns a BuildDependencies Collection that allows you to specify which projects depend on which others.

[Visual Basic .NET]
Public ReadOnly Property BuildDependencies() As BuildDependencies
[Visual Basic 6]
Property Get BuildDependencies() As BuildDependencies
[C++]
HRESULT __stdcall get_BuildDependencies(
   /* [out, retval] */ BuildDependencies** retVal
);
[C#]
public BuildDependencies BuildDependencies {get;}
[JScript .NET]
public function get BuildDependencies() : BuildDependencies

Return Value

Returns a BuildDependencies collection.

Example

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

See Also

BuildDependencies Collection | BuildDependency Object

Applies To: SolutionBuild Object

Show:
© 2014 Microsoft