Compartir a través de


SolutionContext.ShouldDeploy Property

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

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

Syntax

'Declaration
Property ShouldDeploy As Boolean
bool ShouldDeploy { get; set; }
property bool ShouldDeploy {
    bool get ();
    void set (bool value);
}
abstract ShouldDeploy : bool with get, set
function get ShouldDeploy () : boolean 
function set ShouldDeploy (value : boolean)

Property Value

Type: System.Boolean
A Boolean value indicating false if the project does not support being built.

Remarks

If the project does not support being built, ShouldDeploy is false, and setting it to true has no effect.

.NET Framework Security

See Also

Reference

SolutionContext Interface

EnvDTE Namespace