What I found is that the Program.cs file was not part of the solution.
I did an add existing item and added the file (Program.cs) back to the solution.
This corrected the error:
Error 1 Program '..... does not contain a static 'Main' method suitable for an entry point