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 the target web app should be put offline during the deployment process.
- Assembly
- Cake
.WebDeploy .dll - Namespace
- Cake
.WebDeploy - Containing Type
- Deploy
Settings Extensions
Syntax
public static DeploySettings UseAppOffline(this DeploySettings settings, bool useAppOffline)
Parameters
Name | Type | Description |
---|---|---|
settings | DeploySettings | The publish settings. |
useAppOffline | bool | Wether to put the app offline or not. |
Return Value
Type | Description |
---|---|
DeploySettings | The same DeploySettings instance so that multiple calls can be chained. |