Export (0) Print
Expand All

SolutionBuild Interface

Represents the root of the build automation model at the solution level.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

[GuidAttribute("A3C1C40C-9218-4D4C-9DAA-075F64F6922C")] 
public interface SolutionBuild
/** @attribute GuidAttribute("A3C1C40C-9218-4D4C-9DAA-075F64F6922C") */ 
public interface SolutionBuild
GuidAttribute("A3C1C40C-9218-4D4C-9DAA-075F64F6922C") 
public interface SolutionBuild

The SolutionBuild object provides access to all of the solution configurations and their properties, the project build dependencies, and startup projects.

The counterpart to the SolutionBuild object at the project and item level is the ConfigurationManager object.

Sub SolutionBuildExample()
  ' Build the solution configuration.
  Dim sb As SolutionBuild = DTE.Solution.SolutionBuild
  sb.SolutionConfigurations.Item("MyConfig").Activate
  sb.Build
End Sub

Community Additions

ADD
Show:
© 2014 Microsoft