次の方法で共有


SolutionContext.ShouldDeploy Property

Definition

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

public:
 property bool ShouldDeploy { bool get(); void set(bool value); };
public:
 property bool ShouldDeploy { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(7)]
public bool ShouldDeploy { [System.Runtime.InteropServices.DispId(7)] get; [System.Runtime.InteropServices.DispId(7)] set; }
[<System.Runtime.InteropServices.DispId(7)>]
[<get: System.Runtime.InteropServices.DispId(7)>]
[<set: System.Runtime.InteropServices.DispId(7)>]
member this.ShouldDeploy : bool with get, set
Public Property ShouldDeploy As Boolean

Property Value

A Boolean value indicating false if the project does not support being built.

Attributes

Remarks

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

Applies to