A project with an output type of class library cannot be started directly
I'm setting my solution to Release mode to test some functionality and this is the error I get. This is the settings I have and these work fine in Debug mode.
- Output Type: Class Library
- Startup Object: (Not set)
The error occurs after I set my solution to Release mode (clean and build performed). Here's what I have done so far.
- Changed the Output Type to Windows Application and Console Application
- Set the Startup Object to Program.cs
- Deleted .suo file