SolutionConfiguration Interface
TOC
Collapse the table of content
Expand the table of content

SolutionConfiguration Interface

 

Represents information about a particular way to build the solution.

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

[GuidAttribute("60AAAD75-CB8D-4C62-9959-24D6A6A50DE7")]
public interface class SolutionConfiguration

NameDescription
System_CAPS_pubpropertyCollection

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

System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyName

Gets or sets the name of the object.

System_CAPS_pubpropertySolutionContexts

Gets a collection of SolutionContext objects.

NameDescription
System_CAPS_pubmethodActivate()

Moves the focus to the current item.

System_CAPS_pubmethodDelete()

Removes the SolutionConfiguration object from the collection.

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.

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
Return to top
Show:
© 2016 Microsoft