Export (0) Print
Expand All

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

The SolutionContext type exposes the following members.

  NameDescription
Public propertyCollectionReturns the SolutionContexts collection containing the SolutionContext object supporting this property.
Public propertyConfigurationNameSets or gets the project configuration name that provides context when this solution context is selected.
Public propertyDTEGets the top-level extensibility object.
Public propertyPlatformNameGets the name of the platform supported by this assignment.
Public propertyProjectNameGets the unique name of the project for which this SolutionContext object provides context.
Public propertyShouldBuildSets or returns whether the current project is built when the solution configuration associated with this SolutionContext is selected.
Public propertyShouldDeploySets or returns whether the current project is deployed when the solution configuration associated with this SolutionContext is selected.
Top

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.

Show:
© 2014 Microsoft