Share via


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
'Usage
Dim instance As SolutionContext 
Dim value As Boolean 

value = instance.ShouldDeploy

instance.ShouldDeploy = value
bool ShouldDeploy { get; set; }
property bool ShouldDeploy {
    bool get ();
    void set (bool value);
}
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

SolutionContext Members

EnvDTE Namespace