I have created WinForms app, when I run it from console (cmd) the console is does not show anything I have logged using Console.WriteLine. It just "hangs" until the program has finished execution. In VS the Output shows a lot of informations, both in Debug and Release mode.
I was hopeing to use console and tracing tool and later be able to determine why something did not work on some outside environment. How to enable that in Console?
I was shocked but doing "MyApp.exe > a.log" has created a log file with information I wanted.
You may want to see if redirecting the console error output like this suggests will work for you. Or you could use Log4Net like @Mitch Wheat suggested