Compartilhar via


Propriedade SolutionBuild.BuildDependencies

Obtém um BuildDependencies coleção que permite que você especifique quais projetos dependem de quais outros projetos.

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

Sintaxe

'Declaração
ReadOnly Property BuildDependencies As BuildDependencies
BuildDependencies BuildDependencies { get; }
property BuildDependencies^ BuildDependencies {
    BuildDependencies^ get ();
}
abstract BuildDependencies : BuildDependencies
function get BuildDependencies () : BuildDependencies

Valor de propriedade

Tipo: EnvDTE.BuildDependencies
A BuildDependencies coleção.

Exemplos

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

Segurança do .NET Framework

Consulte também

Referência

SolutionBuild Interface

Namespace EnvDTE