A C# app that references a C# dll which uses Enterprise Library is throwing an error
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2010-06-09T18:51:45Z
Indexed on
2010/06/09
19:02 UTC
Read the original article
Hit count: 465
I have a C# app that references another C# dll which in turn uses Enterprise Library. Because my app has no config xml file for setting the Enterprise Library settings, it is throwing an error, specifically:
"The configuration section for Logging cannot be found in the configuration source."
"Microsoft.Practices.EnterpriseLibrary.Logging"
I would rather not add an XML config file to my app to just turn off Enterprise Library. Is there a code way to do so in my the source for my app?
EDIT:
I'm on EL 4.1
© Stack Overflow or respective owner