Using web deploy to apply deployment packages in order to make updates to a Web Application Project.
All is well when one developer is generating the packages.
When more than one developer is involved the files in the package (zip file) have different modified dates and running the .cmd file with the whatif switch gives back the wrong results (all files will be updated)
If the package is actually applied with the /y switch not all files are updated, only the ones that have actually changed.
Is there a way to make the whatif switch compare the files in a proper way and check content?
Shouldn't running web deploy with /t and /y switch give exactly the same results?
If there is only one developer that generates the packages webdeploy will return the correct files changed when run with the /t switch.
If developer1 generates the package, the package gets applied and then developer2 generates another package with just a couple of files changed web deploy will return all files to be updated when run with the /t switch.
ias0nas
Participant
799 Points
309 Posts
Web Deploy Packages - File Comparison Options
Jul 04, 2012 02:10 PM|LINK
Hello,
Using web deploy to apply deployment packages in order to make updates to a Web Application Project.
All is well when one developer is generating the packages.
When more than one developer is involved the files in the package (zip file) have different modified dates and running the .cmd file with the whatif switch gives back the wrong results (all files will be updated)
If the package is actually applied with the /y switch not all files are updated, only the ones that have actually changed.
Is there a way to make the whatif switch compare the files in a proper way and check content?
Shouldn't running web deploy with /t and /y switch give exactly the same results?
Thanks,
Jason
Mudasir.Khan
All-Star
15346 Points
3142 Posts
Re: Web Deploy Packages - File Comparison Options
Jul 04, 2012 02:44 PM|LINK
what do you mean by "when more than one developer is involved the files in the package" ?
package is independent of file dates it simply takes the latest files and xcopy to destination
ias0nas
Participant
799 Points
309 Posts
Re: Web Deploy Packages - File Comparison Options
Jul 04, 2012 03:12 PM|LINK
If there is only one developer that generates the packages webdeploy will return the correct files changed when run with the /t switch.
If developer1 generates the package, the package gets applied and then developer2 generates another package with just a couple of files changed web deploy will return all files to be updated when run with the /t switch.