24

NLog.config 情報を app.config ファイル内に配置する方法はありますか? このようにして、2 つではなく 1 つの構成ファイルを持つことができます。次のようになります。

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="nlog" type="..." />
  </configSections>
  <nlog>
    <targets>...</targets>
    <rules>...</rules>
  </nlog>
</configuration>

これが重複している場合はお知らせください。

4

1 に答える 1