Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BuildDependencies
ID
Top
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft