The configuration section for Logging cannot be found in the configuration source 
I added a reference to Common and Logging in the Enterprise library and then created a config file using the Enterprise library config gui from the right click menu.
I have configured :
Text Formatter
FlatFile Trace Listener
Special Sources (All Events, Logging Errors and Warnings, UnProcessed Category - all to use FlatFile Trace Listener)
Category Sources -> General -> FlatFile Trace Listener
And I still get the error.
It compiles ok.
Code
Bold text is where it goes bang.

I added a reference to Common and Logging in the Enterprise library and then created a config file using the Enterprise library config gui from the right click menu.
I have configured :
Text Formatter
FlatFile Trace Listener
Special Sources (All Events, Logging Errors and Warnings, UnProcessed Category - all to use FlatFile Trace Listener)
Category Sources -> General -> FlatFile Trace Listener
And I still get the error.
It compiles ok.
Code
LogEntry le = new LogEntry();
le.Message = message;
le.Severity = TraceEventType.Verbose;
le.Priority = 1;
if (Logger.ShouldLog(le))
le.Message = message;
le.Severity = TraceEventType.Verbose;
le.Priority = 1;
if (Logger.ShouldLog(le))

}"

Comment