Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I add a tokenized parameter to a web.config file so it shows up in SetParameters.xml?

I need to be able to add a single parameter in the AppSettings section to the SetParameters.xml file that is generated during a TFS build for deploying using MSDeploy. Currently only connection strings get tokenized.

How can I add a key from the AppSettings section?

like image 810
irperez Avatar asked Jul 01 '11 16:07

irperez


1 Answers

I found the answer to my own question. The link below is a great post on how to add custom parameters to be filled in during webdeploy deployments.

http://vishaljoshi.blogspot.com/2010/07/web-deploy-parameterization-in-action.html

like image 76
irperez Avatar answered Oct 21 '22 17:10

irperez