I have created a custom database trace listener which will inherit from CustomTraceListener class. I have added all the required code and build the dll. It has build successfully. But when I try to select that assembly in the configuration tool, the type
selector is showing the below error.
"There were no types found in the assembly '' that implement or inherit from the base type 'Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.CustomTraceListener'.
I have given the name space for my dll as "EntLib.Extended.LoggingTest.Logging". When I change the namespace from that one to "EntLibExtendedLoggingTestLogging", then
the type selector is showing the correct class in the configuration console.
public class ExtDBTraceListener : CustomTraceListener
public override void TraceData(TraceEventCache eventCache, string source, TraceEventType eventType, int id, object data)
// some code here
public override void Write(object o)
// code here
When I change the namespace in the above code to "EntLibExtendedLoggingTestLogging", then the config control is showing the correct class in the console.
What is the problem if I give the namespace like above with '.'? Could you please tell me how to resolve this error?