put a breakpoint on the first line of your app and inspect
System.Console.Out. You'll see that it's ultimately a wrapper around
System.IO.Stream.NullStream.
((System.IO.StreamWriter)(((System.IO.TextWriter.S yncTextWriter)(System.Console.Out))._out)).BaseStr eam
Use a logging framework instead of console.writeline (I'd suggest
log4net).
HTH,
Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On 3 May 2007 11:56:25 -0700,
jo*********@topscene.com wrote:
>I have a windows form app in C# in VS2005. In the "program.cs" file, I
take some command line arguments and use "Console.WriteLine("fsdfsd")
to give feedback to users. When I step through the program, the code
block is executing, but no text is written to the command line.
What might be causing this?