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.






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


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.


Namespace: EnvDTE

File: dte.olb


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"
End Sub

See Also

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

© 2015 Microsoft