App.Config: configSections Conflicting With system.diagnostics RRS feed

  • Question

  • I am building a Windows Service in Visual Studio 2010 (.Net 4).  The standard app.config contained a system.diagnostics section.  I added a configSections, but the service acted like it didn't even exist, until I removed the system.diagnostics section.  I did NOT change system.diagnostics at all.

    Any ideas why system.diagnostics prevented my configSections from working?

    I put this post in WCF, only because I wasn't sure where to put it.  I am NOT using WCF.  I would be happy to move the post to a better location.


    • Moved by Yi-Lun Luo Friday, October 7, 2011 1:14 AM Can someone find a proper forum for this question? Thanks. (From:Windows Communication Foundation (WCF))
    Thursday, October 6, 2011 2:44 PM


All replies