User372121194 posted
Hi,
To update the Web.config file by replacing existing sections with elements that reference a .config file, please enable "Use external configuration source file" option.
For example, the web.config contains appSettings section:
<appSettings>
<add key="test" value="AAA"></add>
</appSettings>
And there is a config file named SourceConfig.config, containing:
<appSettings>
<add key="New1" value="BBB"></add>
</appSettings>
In the Web Deployment project, we can directly type appSettings=SourceConfig.config in
Web.config file section replacements TextBox.
After build Web Deployment project, the web.config will become:
<appSettings configSource="SourceConfig.config" />
I look forward to receiving your test results.