If you try to specify the site name using the above instruction, then it may fail with "Error: Source (sitemanifest) and destination (iisApp) are not compatible for the given operation." If this happens, then you need to use -setParam argument on msdeploy.exe (i.e. not in the provider arguments) to specify the site name like this: -setParam:"IIS Web Application Name":"Some Site" this is because no one on the tools team ever took a step back and thought, this is bad, very bad.
↧