diff --git a/AzureWebAppClone/Program.cs b/AzureWebAppClone/Program.cs index c42c9b3..2d7e70f 100644 --- a/AzureWebAppClone/Program.cs +++ b/AzureWebAppClone/Program.cs @@ -151,7 +151,14 @@ public static void SyncDatabases(Profile src, Profile dest , string dbtype) } public static void SyncWebApps(Profile src, Profile dest) { - DeploymentSyncOptions syncOptions = new DeploymentSyncOptions(); + DeploymentSyncOptions syncOptions = new DeploymentSyncOptions() + { + Rules = + { + new DeploymentSkipRule("SkipASearch", "AddChild", "dirPath", "app.data.search", ""), + new DeploymentSkipRule("SkipUSearch", "Update", "dirPath", "app.data.search", "") + } + }; DeploymentBaseOptions sourceBaseOptions = new DeploymentBaseOptions(); sourceBaseOptions.ComputerName = "https://" + src.publishUrl + "/msdeploy.axd";