tag:help.appveyor.com,2012-11-13:/discussions/questions/433-is-it-possible-to-override-a-connection-string-from-either-appveyoryaml-or-the-ui-settingsAppVeyor: Discussion 2018-10-19T08:16:40Ztag:help.appveyor.com,2012-11-13:Comment/339924452014-08-01T19:23:04Z2014-08-01T19:23:04ZIs it possible to override a connection string from either appveyor.yaml or the UI Settings?<div><p>To override during the deployment?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/339924452014-08-01T19:36:01Z2014-08-01T19:36:01ZIs it possible to override a connection string from either appveyor.yaml or the UI Settings?<div><p>No, before building.</p></div>ryantag:help.appveyor.com,2012-11-13:Comment/339924452014-08-01T20:05:49Z2014-08-01T20:05:49ZIs it possible to override a connection string from either appveyor.yaml or the UI Settings?<div><p>I think I found a solution in my FAKE build script. I had just
wondered if something were built in for this task. Is there
something for deployments?</p></div>ryantag:help.appveyor.com,2012-11-13:Comment/339924452014-08-03T12:17:28Z2014-08-03T12:17:28ZIs it possible to override a connection string from either appveyor.yaml or the UI Settings?<div><p>Yes, you can update config settings when publishing with Web
Deploy: <a href=
"http://www.appveyor.com/docs/deployment/web-deploy#web-deploy-parametrization">
http://www.appveyor.com/docs/deployment/web-deploy#web-deploy-param...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/339924452014-08-03T15:04:41Z2014-08-21T21:18:22ZIs it possible to override a connection string from either appveyor.yaml or the UI Settings?<div><p>We solved that by having a environment variable and then we read
the value from that into a static field and if that isn't present
we fallback to configuration file values (app/web.config) example
for one of our EF6 solutions attached</p></div>kristoffer