How to clean up wwwroot folder on the target Azure Websites Windows Server before each deployment in VSTS
问题 After about a dozen deployments, the wwwroot directory is filled with a lot of files due to active development and deployments. We are using VSTS's Azure App Service Deploy task to deploy to Azure Websites Windows Server for a ASP.NET Web API project, is there a way to clean up the wwwroot directory before deploying to the Avsts pre-deployment clean up? 回答1: When using the Azure App Service Deploy task, and you are using the Publish using Web Deploy option, there is an additional option to