Hello everybody,
It's the first time for me on this forum.
I work with C# and SharpDevelop 1.0.3 Build 1768
I am starting with C# and it's my first steps with
Trace class. So I just started with a very simple
console application :
Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
Trace.WriteLine("Hello");
Trace.Flush();
Trace.Close();
THE PROBLEM : no output at all ! I tried also with
a text file instead of Console.Out : the file
is created but is empty. I also tried manual compilation
with /d:trace but same problem.
It's the first time for me on this forum.
I work with C# and SharpDevelop 1.0.3 Build 1768
I am starting with C# and it's my first steps with
Trace class. So I just started with a very simple
console application :
Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
Trace.WriteLine("Hello");
Trace.Flush();
Trace.Close();
THE PROBLEM : no output at all ! I tried also with
a text file instead of Console.Out : the file
is created but is empty. I also tried manual compilation
with /d:trace but same problem.