Suppose I have a web.config
parameter under <appSettings><add key="myParam" value="myValue"/></appSettings>
and I want to modify the value for myParam
depending on the publish profile I use, ie DEVELOPMENT.pubxml
and TEST.pubxml
for a web site deployment.
What is the most straightforward way to accomplish this? How do I specify in the pubxml
which keys I want to transform, where they are, etc?
Either a direct answer or a link to a resource that answers this question would be highly appreciated.