SolutionContext Interface

Definition

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.

public interface class SolutionContext
public interface class SolutionContext
__interface SolutionContext
[System.Runtime.InteropServices.Guid("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface SolutionContext
[System.Runtime.InteropServices.Guid("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")]
public interface SolutionContext
[<System.Runtime.InteropServices.Guid("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type SolutionContext = interface
[<System.Runtime.InteropServices.Guid("FC6A1A82-9C8A-47BB-A046-6E965DF5A99B")>]
type SolutionContext = interface
Public Interface SolutionContext
Attributes

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.

Properties

Collection

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

ConfigurationName

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

DTE

Gets the top-level extensibility object.

PlatformName

Gets the name of the platform supported by this assignment.

ProjectName

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

ShouldBuild

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

ShouldDeploy

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

Applies to