Web Deploy Packages - File Comparison Options RRS feed

  • Question

  • User33581331 posted


    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?



    Wednesday, July 4, 2012 10:10 AM

All replies

  • User-661350001 posted

    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

    Wednesday, July 4, 2012 10:44 AM
  • User33581331 posted

    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.

    Wednesday, July 4, 2012 11:12 AM