I have a trace lister (DefaultTraceListener derived) to write a special format to the VS output window (so double click -> go to source works). I remove the standard VS output default trace listener and replace it with this one.
But I don’t want this long format showing in my console so I have a separate ConsoleTraceLister derived listener to give a shorter version there. The issue is this also writes to VS output so in that window traces are doubled up.
How to stop a ConsoleTraceLister derived listener from writing to VS output window?
I have a trace lister (DefaultTraceListener derived) to write a special format to the
Share
//here is somthing you can try not sure if it will help