|
Hi,
I've written a custom trace listener and am currently trying to test it by
registering it in the app config of another app. Every time the app runs I
get a message saying
"Couldn't find type for class LiveTrace.clsMSMQPublisher, LiveTrace."
The app config file appears below:
<configuration>
<system.diagnostics>
<trace>
<listeners>
<add name="LiveTraceListener"
type="LiveTrace.clsMSMQPublisher, LiveTrace"
initializeData=".\private$\tracequeue" />
</listeners>
</trace>
</system.diagnostics>
</configuration>
The LiveTrace.dll file is in the same directory as the test app. I've tried
strong naming the dll, placing it in the GAC and using the fully qualified
name in the app config but I'm getting the same error.
I've probably done something really daft but I just can't see what it is.
Could someone please point it out for me before my machine goes flying across
the room... :-)
Any help would be greatly appreciated.
Kevin. |