相关疑难解决方法(0)

有没有办法让App.config文件引用另一个完整的配置文件?(.净)

更新:这个问题,包括标题,被重新定义,详见历史

我知道以下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文件.

.net app-config

12
推荐指数
3
解决办法
2万
查看次数

标签 统计

.net ×1

app-config ×1