Search code examples
c#asp.netclass-library

Run outputType library project


I have an ASP.NET project with outputType library, I need to run the project but it's not running. what outputType should i use to make my project run?


Solution

  • In order to fix the above error, right click the Solution name in Visual 
    Studio 2005/2008 and select Set as StartUp Project option from the popup menu. 
    

    source : Fix: A project with an Output type of Class Library cannot be started directly