SolutionBuild.Deploy(Boolean) Method
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.
Causes each project in the active solution configuration that is marked for deployment to deploy.
void Deploy(bool WaitForDeployToFinish = false);
[System.Runtime.InteropServices.DispId(10)]
public void Deploy (bool WaitForDeployToFinish = false);
[<System.Runtime.InteropServices.DispId(10)>]
abstract member Deploy : bool -> unit
Public Sub Deploy (Optional WaitForDeployToFinish As Boolean = false)
- WaitForDeployToFinish
- Boolean
Optional. Determines whether Build(Boolean) retains control until the deployment operation is complete. Default value is false
.
- Attributes
When invoked, Deploy initiates a build. If you set WaitForBuildToFinish
to false
— that is, control returns immediately after initiating a build — you can use the OnBuildDone
event to determine when the build is complete.