The following setting is set in my Web.config file:
<add key="ClientMail" value="ridermansb@bindsolution.com"/>
In my file I have Web.Release.config:
<appSettings>
<add key="ClientMail"
xdt:Transform="SetAttributes"
xdt:Locator="Match(value)"
value="ridermansb@gmail.com"/>
</appSettings>
How can I get, when the site starts in Release mode, the settings are applied in Web.Release.config?
In this case, I need to change the value of the parameter in <appSettings>
source
share