更新:这个问题,包括标题,被重新定义,详见历史
我知道以下App.config包含一个外部文件:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings configSource="appSettings.config"/>
<system.net>
<connectionManagement>
<add address="*" maxconnection="50"/>
</connectionManagement>
</system.net>
</configuration>
Run Code Online (Sandbox Code Playgroud)
但我不知道如何将system.net移动到第二个文件.实际上我没有尝试过,但我几乎肯定它不会工作,我想知道App.config是否有办法通过引用包含另一个App.config文件.