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)

[GuidAttribute("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")]
public interface SolutionContext

NameDescription
System_CAPS_pubpropertyCollection

Returns the SolutionContexts collection containing the SolutionContext object supporting this property.

System_CAPS_pubpropertyConfigurationName

Sets or gets the project configuration name that provides context when this solution context is selected.

System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyPlatformName

Gets the name of the platform supported by this assignment.

System_CAPS_pubpropertyProjectName

Gets the unique name of the project for which this SolutionContext object provides context.

System_CAPS_pubpropertyShouldBuild

Sets or returns whether the current project is built when the solution configuration associated with this SolutionContext is selected.

System_CAPS_pubpropertyShouldDeploy

Sets or returns whether the current project is deployed when the solution configuration associated with this SolutionContext is selected.

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.

Return to top
Show: