Udostępnij za pośrednictwem


SolutionContext.ShouldBuild Property

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

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)

Property Value

Type: System.Boolean
A Boolean value indicating true if the project should be built, false if not.

Remarks

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

.NET Framework Security

See Also

Reference

SolutionContext Interface

EnvDTE Namespace