Program does not contain a static 'Main' method suitable for an entry point

后端 未结 9 1176
心在旅途
心在旅途 2020-11-28 23:40

Suddenly my whole project stopped compiling at all, showing the following message:

Program \'path_to_obj_project_folder\' does not contain a static \'

9条回答
  •  春和景丽
    2020-11-29 00:10

    Maybe the "Output type" in properties->Application of the project must be a "Class Library" instead of console or windows application.

提交回复
热议问题