Blog Archive for September 7, 2016

Class Library cannot be started directly

September 7, 2016

In Visual Studio 2015, I created a ASP.NET Web Application project, and then chose the Empty template.

When you try and run this, you'll probably get the following error:

A project with an Output Type of Class Library cannot be started directly.
In order to debug this project, add an …