SolutionContext.ShouldBuild Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets or returns whether the current project is built when the solution configuration associated with this SolutionContext is selected.
public:
property bool ShouldBuild { bool get(); void set(bool value); };
public:
property bool ShouldBuild { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(6)]
public bool ShouldBuild { [System.Runtime.InteropServices.DispId(6)] get; [System.Runtime.InteropServices.DispId(6)] set; }
[<System.Runtime.InteropServices.DispId(6)>]
[<get: System.Runtime.InteropServices.DispId(6)>]
[<set: System.Runtime.InteropServices.DispId(6)>]
member this.ShouldBuild : bool with get, set
Public Property ShouldBuild As Boolean
Property Value
A Boolean value indicating true
if the project should be built, false
if not.
- Attributes
Remarks
If the project does not support being built, ShouldBuild is always false
, and setting it to true
has no effect.