Skip to content

Instantly share code, notes, and snippets.

@murarisumit
Created September 16, 2015 06:25
Show Gist options
  • Save murarisumit/76b5eef96c85d645073a to your computer and use it in GitHub Desktop.
Save murarisumit/76b5eef96c85d645073a 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