This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.WebDeploy.
Summary
Sets if operations will not be executed but events will still be fired
- Assembly
- Cake
.WebDeploy .dll - Namespace
- Cake
.WebDeploy - Containing Type
- Deploy
Settings Extensions
Syntax
public static DeploySettings SetWhatIf(this DeploySettings settings, bool whatIf = true)
Parameters
Name | Type | Description |
---|---|---|
settings | DeploySettings | The publish settings. |
whatIf | bool | If operations will not be executed |
Return Value
Type | Description |
---|---|
DeploySettings | The same DeploySettings instance so that multiple calls can be chained. |