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
Post a Comment