when I compile as a .NET 3.5 assembly it works, but when I compile the
identical project as a .NET 4.0 assembly the trace will not carried out.
I only want to use the DefaultListener and not to implement a
CustomTraceListener.
I tried it under Vista and Win7 with the VS2010 Ultimate.
For the DebugMonitor I use Sysinternals DbgView.
Can anybody help me ?
Thanks
Robert
vorab,
diese NG ist kurz vor Abschaltung!
> System.Diagnostics.Trace.WriteLine("TEST!")
> .NET 4.0 assembly the trace will not carried out.
versuche mal:
DefaultTraceListener defListener = new DefaultTraceListener();
defListener.WriteLine("BlaBla\r\n");
mit EXE _ausserhalb_ vom VStudio/Debugger ausgeführt.
Achte auch auf irgendwelche .config Dateien.
--
Thomas Scheidegger - 'NETMaster'
http://dnetmaster.net/