1
Vote

A project with an output type of class library cannot be started directly message

description

Even if I have set MileageStat.Web as start up project, I still get the dialog message "A project with an output type of class library cannot be started directly"

Could you please help ?

comments

DCherubini wrote Mar 6, 2013 at 7:35 PM

Hi,

As far as I know, this kind of problems could appear if a file corresponding to the Visual Studio solution is corrupted. As a starting point, I believe you could try deleting the .gpState and .suo files in the solution directory (the later ones are hidden) as well as the bin and obj folders and then select the MileageStat.Web project as the StartUp Project again. Also, remember to select the corresponding page inside the project as the Start Page .

As a side note, it seems this problem is more related to Visual Studio than Silk , so I believe you might find better support in the Visual Studio forums:
Regards,

Damian Cherubini
http://blogs.southworks.net/dcherubini