… [I]s there some way to be able to output debug text to the console? (I tried #define DEBUG and all that.) I ended up using a log file but that is a bit cumbersome.
We have a bug in our .Target files which cause the debug info to not get passed into CSC. We needed a quick workaround for the PDC build; we placed a hack into your myapp.xaml.cs file. To get console debugging working, do the following:
- Change
DebugtoDEBUG(all caps) inMyApp.xaml.cs - Add
using System.Diagnostics - Call
Debug.WriteLine("Hello!") - See the output in the console
This shouldn’t be an issue if you’re using VB.
What if you’re not using MyApp.xaml.cs? Just make sure “#define DEBUG” is in one of your .cs files.