DeploySettingsExtensions.

SetDelete(DeploySettings, bool) Method

Summary

Sets if files that no longer exist should be deleted
Assembly
Cake.WebDeploy.dll
Namespace
Cake.WebDeploy
Containing Type
DeploySettingsExtensions

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.