I realize now that the debug version works (F5) and perhaps was working all along. It's the release version (F6) that doesn't work. It compiles fine, I think. It doesn't automatically run though after compiling. When I go to the release folder and try to run
it it just causes the Send Error Report dialog box to open.
I don't have this problem with sample projects included with the SDK.