I decided to create a new WPF application. I started the project out intending to use WinForms, but then I hit a limitation(pain) that prompted me to switch to WPF. A list of link buttons, easily accomplished in WPF, but annoying in WinForms.
So, I created an App.xaml, deleted my Programs.cs and Main and went compile.
Boom! Error, no Main method. hmmmm… I stared at another one of my WPF projects and didn’t see the magic missing setting. Finally, it dawned on. The compile options for the App.xaml.
Set the compile option to Application Definition and away you go. So simple, yet so non-obvious.