Error: A project with an output type of class library cannot be started directly
Error: A project with an output type of class library cannot be started directly
To solve this error right click on Class Library Project
Click on Properties
In the Application Tab change the Output Type as "Console Application"