tag:help.appveyor.com,2012-11-13:/discussions/problems/6896-parametersxml-transform-not-working-for-appveyor-agent-deploymentAppVeyor: Discussion 2018-10-19T08:18:23Ztag:help.appveyor.com,2012-11-13:Comment/427930802017-06-18T05:52:09Z2017-06-18T23:29:01ZParameters.xml transform not working for AppVeyor agent deployment<div><p>I've tried seemingly endless combinations of parameters.xml and appveyor environment settings but can't seem to get the transform to work. My current solution after scouring all of the other support discussions related to this (as we as the rets of the internet!) is as follows:</p>
<p>Web.config (this is with local dev settings in):</p>
<p></p>
<p>Parameters.xml:<br>
<br>
<br>
<br>
<br>
<br></p>
<p>And appveyor environment settings as per attached screen shot.</p>
<p>I'm sure I've done something really stupid but for the life of me I can't figure out what it is!</p></div>bentag:help.appveyor.com,2012-11-13:Comment/427930802017-06-18T05:53:04Z2017-06-18T23:29:35ZParameters.xml transform not working for AppVeyor agent deployment<div><p>Removed as edited original post instead.</p></div>bentag:help.appveyor.com,2012-11-13:Comment/427930802017-06-19T00:16:48Z2017-06-19T00:16:49ZParameters.xml transform not working for AppVeyor agent deployment<div><p>Just to add to this! My app setting transforms that are all in the same file seem to work fine which makes me think it's due to my xpath!</p></div>bentag:help.appveyor.com,2012-11-13:Comment/427930802017-06-19T00:30:36Z2017-06-19T00:30:38ZParameters.xml transform not working for AppVeyor agent deployment<div><p>OK hold the phone I cracked it after re-reading the following two posts over and over again:</p>
<p><a href="https://stackoverflow.com/questions/24428870/msdeploy-setparameter-not-working">https://stackoverflow.com/questions/24428870/msdeploy-setparameter-...</a><br>
<a href="http://help.appveyor.com/discussions/problems/1759-webconfig-using-web-deploy">http://help.appveyor.com/discussions/problems/1759-webconfig-using-...</a></p>
<p>Basically what I can tell is web deploy auto looks for the connection strings based on a naming convention (I think)!</p>
<p>So changing the name of my parameters to the below fixed everything:</p>
<p>ApplicationServices-Web.config Connection String<br>
CViewClient-Web.config Connection String</p></div>ben