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

1

6

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?

Bite answered 1/7, 2011 at 16:26 Comment(0)
B
8

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

Bite answered 1/7, 2011 at 18:15 Comment(2)
Here is some additional MSDN info on the above solution: technet.microsoft.com/en-us/library/dd569084(WS.10).aspxBite
Here is another good reference doc from IIS.net. learn.iis.net/page.aspx/722/…Bite

© 2022 - 2024 — McMap. All rights reserved.