How to solve error: A Project with an output type of Class Library cannot be started directly
By aj li
This happens when running a program in Visual studio.
Right click on the project that has your web.config or app.config.
Select 'Set as a Startup Project'
How to solve error: A Project with an output type of Class Library cannot be started directly (487 Views)