次の方法で共有


SolutionContext.ShouldBuild Property

Definition

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.

Applies to