I am trying to update the configSource attribute of the appSettings element in my.config file using web.config conversions.
I have the following in my web.config
<appSettings configSource="Config\appSettings.local.config">
</appSettings>
I want it to be
<appSettings configSource="Config\appSettings.prod.config">
</appSettings>
when i create release. This is not happening. I have the following in my Web.Release.config in an element
<appSettings xdt:Transform="SetAttributes(configSource)" configSource="Config\appSettings.prod.config" />
source
share