This documentation is archived and is not being maintained.

ShouldDeploy Property

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public Property ShouldDeploy() As Boolean
[Visual Basic 6]
Property Get ShouldDeploy() As Boolean
Property Let ShouldDeploy( _
   ByVal NewValue As Boolean _
HRESULT __stdcall get_ShouldDeploy(
   /* [out, retval] */ VARIANT_BOOL* retVal
HRESULT __stdcall put_ShouldDeploy(
   /* [in] */ VARIANT_BOOL NewValue
public bool ShouldDeploy {get; set;}
[JScript .NET]
public function get ShouldDeploy() : Boolean
public function set ShouldDeploy(
   NewValue : Boolean


Required. True means the current project is built when the solution context is selected, False means it is not.


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

See Also

Applies To: SolutionContext Object