title: Invoking MsDeploy.exe manually in a Azure Devops
body: <p><strong>Background</strong></p>
  
  <p>As part of our deployment pipeline we are creating our deployment artifact, by running several .xdt transforms on our build artifact as well as adding several additional files.</p>
  
  <p>As the last step before publishing, we would like to invoke msdeploy.exe to build a "custom" webdeploy package from a folder containing the wwwroot-content - (msdeploy command for creating custom package found in this question <a href="https://stackoverflow.com/questions/36908277/web-deploy-how-to-create-a-package-with-selected-items">Web Deploy - How to create a package with selected items</a>)</p>
  
  <p>We are using hosted agents (win 2017).</p>
  
  <p>We wish to deploy to an Azure AppService.</p>
  
  <p><strong>Question</strong></p>
  
  <p>Is there a task in Azure DevOps, that allows you to invoke MsDeploy.exe manually, such that we can create a custom webdeploy package, before we deploy?</p>