This documentation is archived and is not being maintained.

SolutionBuild Object

Visual Studio .NET 2003

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

DTE

   Solution

      SolutionBuild

[Visual Basic .NET]
Public Interface SolutionBuild
    Inherits IDispatch
[Visual Basic 6]
Class SolutionBuild
[C++]
interface SolutionBuild : IDispatch
[C#]
public interface SolutionBuild : IDispatch
[JScript .NET]
public interface SolutionBuild extends IDispatch

Remarks

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.

Requirements

Namespace: EnvDTE

File: dte.olb

Example

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

See Also

Properties, Methods, and Events | SolutionConfiguration Object | SolutionConfigurations Collection | SolutionContexts Collection

Show: