I have found out how to set the application pool and default value
<parameter name="applicationPool" defaultValue="MyDefaultValue" >
<parameterEntry kind="DeploymentObjectAttribute" scope="application"
match="application/@applicationPool" />
</parameter>
Does anyone know how to set the “IIS Web Application Name”? It gets generated in the SetParameters.xml file as
<setParameter name="IIS Web Application Name" value="Default Web Site/MySite_deploy" />
I can overwrite the SetParameters.xml file, but I would rather set it up in the Parameters.xml file, but I can’t find the parameterEntry type.
Thanks
You should be able to override the default value stored in the package by defining a
DeployIisAppPathproperty when you generate the packageAlternatively, you can declare
DisableAllVSGeneratedMSDeployParameter=trueand Visual Studio will no longer automatically generate any parameters for you, you’ll have to declare them all yourself.If you’re declaring the web site parameter yourself, the kind will be
ProviderPath. The scope will either beiisApporcontentPathdepending on what provider is being used. Tear open a package and look in thearchive.xmlfile, the value will be an immediate child of the root manifest element.