Error 1 Program does not contain a static 'Main' method suitable for an entry point.
The scenario in which this arose for me was after importing a WPF project built in VS2008 into VS2010.
Solution
Set the 'build action' property on App.xaml to 'Application Definition'.
SE Radio 652: Christian Mesh on OpenTofu
5 days ago