MSDeploy package: does not have a .zip file name extension

Posted by stacker on Stack Overflow See other posts from Stack Overflow or by stacker
Published on 2010-05-09T07:38:34Z Indexed on 2010/05/09 7:48 UTC
Read the original article Hit count: 1092

Filed under:
|

Here is my code:

<exec program="${msdeploy.exe}"
  commandline="-verb:sync 
               -source:dirPath=${path::get-full-path(Web.UI.dir)} 
               -dest:package='c:\foo.zip'
               -verbose" />

I'm getting this error:

[exec] Error: Package file 'c:\foo.zip'
[exec] ' does not have a .zip file name extension.
[exec] Error count: 1.

© Stack Overflow or respective owner

Related posts about msdeploy

Related posts about nant