Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.