Consider the following msdeploy command line:
msdeploy.exe -source:package='WebSetup.zip' -dest:auto -verb:sync -setParam:'IIS Web Application Name'='Default Web Site/Test' -setParam:'Application Pool'='ASP.NET v4.0' -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension
It fails with an unrecognized argument of 'Application Pool'. I have also tried 'IIS Web Application Pool Name' and that fails as well. I have poured through various posts and web sites and still not uncovered how to set the application pool from the command line. If I remove that setParam, the deployment works just fine.
Any suggestions on how to set the application pool?
Thanks much.