Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SolutionConfiguration Object

Visual Studio .NET 2003

Represents information about a particular way to build the solution.

DTE

   Solution

      SolutionBuild

         SolutionConfigurations

            SolutionConfiguration

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

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.

Requirements

Namespace: EnvDTE

File: dte.olb

Example

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

See Also

Properties, Methods, and Events | SolutionBuild Object | SolutionConfigurations Property | SolutionContexts Property

Show:
© 2015 Microsoft