简体   繁体   中英

msdeploy.exe: Deploy only changed files

I am using msdeploy.exe for deploying my project to remote iis site using below command

msdeploy.exe -source:iisApp="D:\publish" -dest:iisApp="test-site",ComputerName="https://url:8172/msdeploy.axd?site=test-site",UserName="u",Password="p",IncludeAcls='False',AuthType='Basic' -verb:sync -enablerule:AppOffline -enableRule:DoNotDeleteRule -retryAttempts:20 -allowUntrusted='True'

But it is always uploading each an every file during deployment.

Is there any way so that i can upload only changed files using msdeploy.exe?

使用-useChecksum参数来解决

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM