Freigeben über


SolutionContext.ShouldDeploy-Eigenschaft

Legt fest oder gibt zurück, ob das aktuelle Projekt bereitgestellt wird, wenn die diesem SolutionContext zugeordnete Projektmappenkonfiguration ausgewählt wird.

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)

Eigenschaftswert

Typ: System.Boolean
Ein boolescher Wert, der false lautet, wenn das Erstellen des Projekts nicht unterstützt wird.

Hinweise

Wenn das Erstellen des Projekts nicht unterstützt wird, hat ShouldDeploy den Wert false, und das Festlegen auf true hat keine Auswirkung.

.NET Framework-Sicherheit

Siehe auch

Referenz

SolutionContext Schnittstelle

EnvDTE-Namespace