Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i am trying to see the output from the Asp.net project getting the error "A project with an Output Type of Class Library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project".

I doesn't know what is the problem. Please explain me clearly about this issue.

What I have tried:

1) I have created Empty solution with 11 projects included in the solution file. I created sample login screen to see the output. When we start the debug then it automatically gets the browser instance in the debug. But i am getting start like when we create windows application.

2) Can you please tell me how to render the CSS and JS files that already bundled in the BundleConfig class located at App_Start folder in Asp.Net Web Forms application not MVC Application. This rendering files should be in master page or Content pages tell me clearly sir.

Thanks in advance
Posted
Updated 26-Jun-18 21:45pm

1 solution

set as a startup project to valid web application/project.
If you set class library as a startup project then it will always show "Start"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900