SolutionConfiguration SolutionConfiguration SolutionConfiguration SolutionConfiguration SolutionConfiguration SolutionConfiguration Interface

Definition

Represents information about a particular way to build the solution.

public interface class SolutionConfiguration
public interface class SolutionConfiguration
__interface SolutionConfiguration
[System.Runtime.InteropServices.Guid("60AAAD75-CB8D-4C62-9959-24D6A6A50DE7")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface SolutionConfiguration
type SolutionConfiguration = interface
Public Interface SolutionConfiguration
Derived
Attributes

Examples

Sub SolutionConfigurationExample()  
  ' Ensure all Debug project configurations are what are built for the  
  ' Debug solution configuration.  
  Dim config As SolutionConfiguration = DTE.Solution.SolutionBuild.SolutionConfigurations.Item("Debug")  
  For each context in config.SolutionContexts  
    Context.ConfigurationName = "Debug"  
  Next  
End Sub  

Remarks

SolutionConfiguration also represents for each project which project configuration and platform provide context for the build operation and design-time features in the environment, such as statement completion in the editor.

Properties

Collection Collection Collection Collection Collection Collection

Gets the SolutionConfigurations collection containing the SolutionConfiguration object supporting this property.

DTE DTE DTE DTE DTE DTE

Gets the top-level extensibility object.

Name Name Name Name Name Name

Gets or sets the name of the object.

SolutionContexts SolutionContexts SolutionContexts SolutionContexts SolutionContexts SolutionContexts

Gets a collection of SolutionContext objects.

Methods

Activate() Activate() Activate() Activate() Activate() Activate()

Moves the focus to the current item.

Delete() Delete() Delete() Delete() Delete() Delete()

Removes the SolutionConfiguration object from the collection.

Applies to