I am having a problem when deploying a package that is generated from our TFSBuild process. We are able to deploy currently with a command line as follows:
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package="somepackage.zip" -dest:auto,computerName=machinename,userName=user,password=password -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -allowUntrusted
I have not been able to specify the site name as we now have a situation where we want to deploy to a site that isn't the "Default Web Site". If I try to add the "apphostconfig=SiteName" I get the error "The provider 'auto' does not support the 'apphostconfig' setting."
I tried to change from the auto provider to the webserver provider and I get this error: "Source (sitemanifest) and destination (webserver) are not compatible for the given operation"
At this point I am unsure on how to specify a destination site, any guidance would be great.
John