title: How to fix WPF error: "Program does not contain a static 'Main' method suitable for an entry point"?
body: <p>Suddenly my whole project stopped compiling at all, showing the following message:</p>
  <blockquote>
  <p>Program 'path_to_obj_project_folder' does not contain a static 'Main'
  method suitable for an entry point</p>
  </blockquote>
  <p>I made no changes to project properties, just added some classes, moved some other classes into folders. Its an WPF Application project so it should be all OK. Entry point is where it should be, file App.xaml was not modified at all :(</p>
  <p>What should I do to make it work again?</p>
  <p><strong>NOTE</strong><br />
  <em>For reference</em>: if renaming the <code>App.xaml</code> this can happen. As OP stated, <code>App.xaml</code> was not altered; however, this is added for anyone that does rename the <code>App.xaml</code>.</p>