Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

Set Application Pool with MSDeploy

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>