MSDeploy Parameters.xml can only replace web.config values is a value is already set
If you are using a parameters.xml file to set value with MSDeploy I have just found a gotcha. You need some value in the web.config file, not just an empty XML tag, else the replacement fails. So to explain… I had the following parameters.xml file, and use Release Management to replace the __TAG__ values at deployment time. <parameters> <parameter name="Domain" description="Please enter the name of the domain" defaultvalue="\_\_Domain\_\_" tags=""> <parameterentry kind="XmlFile" scope="\\web.config$" match="/configuration/applicationSettings/Web.Properties.Settings/setting\[@name='Domain'\]/value/text()" /> </parameter> <parameter name="AdminGroups" description="Please enter the name of the admin group" defaultvalue="\_\_AdminGroups\_\_" tags=""> <parameterentry kind="XmlFile" scope="\\web.config$" match="/configuration/applicationSettings/Web.Properties.Settings/setting\[@name='AdminGroups'\]/value/text()" /> </parameter> </parameters> If my web.config file (in the MSDeploy package to be transformed) was set to ...