How do I tell MSDeploy to deploy a package using a manifest? -
i have teamcity build creates package running following:
msdeploy -verb:sync -source:contentpath=c:\path\to\files\myfilestodeploy -dest:package=c:\path\to\packages\filestodeploypackage.zip
now want deploy package , contents few servers, want using manifest:
msdeploy -verb:sync -source:package=c:\path\to\packages\filestodeploypackage.zip -dest:manifest=c:\path\to\manifests\destmanifest.xml
destmanifest.xml contains:
<?xml version="1.0" encoding="utf-8"?> <sitemanifest> <contentpath path="\\machinenetworkname\path\to\final\content"/> </sitemanifest>
but gets me following error:
error: source (contentpath) , destination (sitemanifest) not compatible given operation.
the way managed have work having 2 manifests, 1 source , 1 dest, , use contentpath
on both xmls, can't use package build produces. case requires folders uncompressed first. don't having 2 manifests, want solve single manifest.
i've checked microsoft's docs , other threads , can't find example of this. hints?
Comments
Post a Comment