Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jrgcubano/a651930d5530b9cbe00b2418a10025ff to your computer and use it in GitHub Desktop.
Save jrgcubano/a651930d5530b9cbe00b2418a10025ff to your computer and use it in GitHub Desktop.
Msdeploy ignore some file
::Skip file with name .pdb, someFile.xml and .config$
msdeploy.exe -verb:sync -source:contentPath=SourcePath -dest:DestPath -skip:objectName=filepath,absolutepath="^*\.pdb$" -skip:objectName=filepath,absolutepath="^*\someFile.xml$" -skip:objectName=filepath,absolutepath="^*\someotherfile.aspx$" -skip:objectName=filepath,absolutepath=".config$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment