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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.