ConfigSections配置

如果配置文件中包含了configSections,那么configSections的下一个节点,必须是configSections里面的元素

<configSections>
<section name ="log4net" type ="System.Configuration.IgnoreSectionHandler"/>
</configSections>

<log4net>

</log4net>

原文地址:https://www.cnblogs.com/chucklu/p/5358453.html