How to create & assign Application Pool to the website deployed via WebDeploy Package -


i create application specific apppool (e.g – test) & assign website(that's being deployed) either webdeploy package creation process (via setparameters.xml file) or msbuild.i have tried both options, still no luck. appreciate quick on this.

note:i checked stack overflow sit, did not work me : how target existing application pool webdeploy?


option 1

action taken resolve issue:

created parameters.xml file in same project , did following changes. can see apppool name reflected in setparameters.xml file once package generated. but, apppool not created on iis once website deployed successfully.


parameters.xml

<parameter name="application pool" description="enter name of application pool." defaultvalue="test" tags="apppoolconfig">     <parameterentry kind="providerpath" scope="apppoolconfig" match="test"/>     <parameterentry kind="deploymentobjectattribute" scope="apphostconfig" match="application/@applicationpool"/> </parameter> 

demosample.setparameters.xml

<setparameter name="application pool" value="test"/> 

option 2

action taken resolve issue:

i added below msbuild commands in msbuild. no luck yet. /p:includeiissettings=true /p:includeapppool=true

thanks, sukanta


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -