No output to console from a WPF application?
Solution 1:
You can use
Trace.WriteLine("text");
This will output to the "Output" window in Visual Studio (when debugging).
make sure to have the Diagnostics assembly included:
using System.Diagnostics;
Solution 2:
Right click on the project, "Properties", "Application" tab, change "Output Type" to "Console Application", and then it will also have a console.