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 files that no longer exist should be deleted
- Assembly
- Cake
.WebDeploy .dll - Namespace
- Cake
.WebDeploy - Containing Type
- Deploy
Settings Extensions
Syntax
public static DeploySettings SetDelete(this DeploySettings settings, bool delete = true)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | DeploySettings | The publish settings. |
| delete | bool | IF files should be deleted. |
Return Value
| Type | Description |
|---|---|
| DeploySettings | The same DeploySettings instance so that multiple calls can be chained. |
