SolutionContext Interface

Represents all projects in the solution, some of which will be built, and the project configuration and platform that will have context when you select a particular SolutionConfiguration object.

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

Syntax

'Declaration
<GuidAttribute("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")> _
Public Interface SolutionContext
[GuidAttribute("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")]
public interface SolutionContext
[GuidAttribute(L"FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")]
public interface class SolutionContext
[<GuidAttribute("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")>]
type SolutionContext =  interface end
public interface SolutionContext

The SolutionContext type exposes the following members.

Properties

  Name Description
Public property Collection Returns the SolutionContexts collection containing the SolutionContext object supporting this property.
Public property ConfigurationName Sets or gets the project configuration name that provides context when this solution context is selected.
Public property DTE Gets the top-level extensibility object.
Public property PlatformName Gets the name of the platform supported by this assignment.
Public property ProjectName Gets the unique name of the project for which this SolutionContext object provides context.
Public property ShouldBuild Sets or returns whether the current project is built when the solution configuration associated with this SolutionContext is selected.
Public property ShouldDeploy Sets or returns whether the current project is deployed when the solution configuration associated with this SolutionContext is selected.

Top

Remarks

Each project in the solution has an associated SolutionContext object that defines the particular project configuration and platform that will provide context when the SolutionConfiguration is selected. Using this object, you can determine whether a particular project is built or deployed.

See Also

Reference

EnvDTE Namespace