How to fix WPF error: "Program does not contain a static 'Main' method suitable for an entry point"?
Solution 1:
Check the properties of App.xaml. Is the Build Action
still ApplicationDefinition
?
Solution 2:
Maybe the "Output type" in properties->Application of the project must be a "Class Library" instead of console or windows application.