SolutionBuild::BuildDependencies Property
Visual Studio 2015
Gets a BuildDependencies collection that allows you to specify which projects depend on which other projects.
Assembly: EnvDTE (in EnvDTE.dll)
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
Show: