I have a project which has a normal web.config with the following appsettings:
<add key="CachingEnabled" value="true"/>
<add key="IsDeployed" value="true"/>
In my web.debug.config I have tried to overwrite these settings with
<add key="CachingEnabled" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="IsDeployed" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
And I also put the corresponding values in the web.release.config
However, when I step through my code, these values are still the same as the ones in the main web.config
Do these values only apply if you deploy the site in debug mode or should they work if you are just running the site locally? I am running the site locally through iis rather than by pressing the play button in visual studio if that makes any difference.