Freigeben über


SolutionContext.ShouldBuild-Eigenschaft

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

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

Syntax

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

Eigenschaftswert

Typ: System.Boolean
Ein boolescher Wert, der true lautet, wenn das Projekt erstellt werden soll, und andernfalls false.

Hinweise

Wenn das Erstellen des Projekts nicht unterstützt wird, lautet ShouldBuild immer false, und das Festlegen auf true hat keine Auswirkung.

.NET Framework-Sicherheit

Siehe auch

Referenz

SolutionContext Schnittstelle

EnvDTE-Namespace