SolutionBuild SolutionBuild SolutionBuild SolutionBuild SolutionBuild SolutionBuild Interface

Definition

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

public interface class SolutionBuild
public interface class SolutionBuild
__interface SolutionBuild
[System.Runtime.InteropServices.Guid("A3C1C40C-9218-4D4C-9DAA-075F64F6922C")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface SolutionBuild
type SolutionBuild = interface
Public Interface SolutionBuild
Derived
Attributes

Examples

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

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.

Properties

ActiveConfiguration ActiveConfiguration ActiveConfiguration ActiveConfiguration ActiveConfiguration ActiveConfiguration

Gets the currently active SolutionConfiguration object.

BuildDependencies BuildDependencies BuildDependencies BuildDependencies BuildDependencies BuildDependencies

Gets a BuildDependencies collection that allows you to specify which projects depend on which other projects.

BuildState BuildState BuildState BuildState BuildState BuildState

Gets whether a build has ever been started in the current environment session, whether a build is currently in progress, or whether a build has been completed.

DTE DTE DTE DTE DTE DTE

Gets the top-level extensibility object.

LastBuildInfo LastBuildInfo LastBuildInfo LastBuildInfo LastBuildInfo LastBuildInfo

Gets the number of projects that failed to build.

Parent Parent Parent Parent Parent Parent

Gets the immediate parent object of a SolutionBuild object.

SolutionConfigurations SolutionConfigurations SolutionConfigurations SolutionConfigurations SolutionConfigurations SolutionConfigurations

Gets a collection of SolutionConfiguration object.

StartupProjects StartupProjects StartupProjects StartupProjects StartupProjects StartupProjects

Gets or sets the names of projects that are entry points for the application.

Methods

Build(Boolean) Build(Boolean) Build(Boolean) Build(Boolean) Build(Boolean) Build(Boolean)

Causes the active solution configuration to begin building.

BuildProject(String, String, Boolean) BuildProject(String, String, Boolean) BuildProject(String, String, Boolean) BuildProject(String, String, Boolean) BuildProject(String, String, Boolean) BuildProject(String, String, Boolean)

Builds the specified project and its dependencies in the context of the specified solution configuration.

Clean(Boolean) Clean(Boolean) Clean(Boolean) Clean(Boolean) Clean(Boolean) Clean(Boolean)

Deletes all compiler-generated support files for marked projects.

Debug() Debug() Debug() Debug() Debug() Debug()

Starts debugging the solution.

Deploy(Boolean) Deploy(Boolean) Deploy(Boolean) Deploy(Boolean) Deploy(Boolean) Deploy(Boolean)

Causes each project in the active solution configuration that is marked for deployment to deploy.

Run() Run() Run() Run() Run() Run()

Causes the active solution configuration to execute.

Applies to