Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents information about a particular way to build the solution.
Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
<GuidAttribute("60AAAD75-CB8D-4C62-9959-24D6A6A50DE7")> _
Public Interface SolutionConfiguration
[GuidAttribute("60AAAD75-CB8D-4C62-9959-24D6A6A50DE7")]
public interface SolutionConfiguration
[GuidAttribute(L"60AAAD75-CB8D-4C62-9959-24D6A6A50DE7")]
public interface class SolutionConfiguration
[<GuidAttribute("60AAAD75-CB8D-4C62-9959-24D6A6A50DE7")>]
type SolutionConfiguration =  interface end
public interface SolutionConfiguration
The SolutionConfiguration type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Collection | Gets the SolutionConfigurations collection containing the SolutionConfiguration object supporting this property. | 
| .gif) | DTE | Gets the top-level extensibility object. | 
| .gif) | Name | Gets or sets the name of the object. | 
| .gif) | SolutionContexts | Gets a collection of SolutionContext objects. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Activate | Moves the focus to the current item. | 
| .gif) | Delete | Removes the SolutionConfiguration object from the collection. | 
Top
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.
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