A project with an Output type of Class Library cannot be started directly

前端 未结 7 1818
情深已故
情深已故 2020-12-05 13:37

I\'ve download sample code with C#. but when I run I get this error message:

A project with an Output type of Class Library cannot be started direct

7条回答
  •  误落风尘
    2020-12-05 14:11

    You need to check that you have the startup project setup correctly.

    If there is more than one project in the solution, right click on the one that should be run when you compile and choose Set as startup project

提交回复
热议问题