Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Application project now has "output type of Class Library"

Status
Not open for further replies.

gdrenfrew

Programmer
Aug 1, 2002
227
GB
Hi there,
I've been working on a Web Application project with asp.net and vb.net objects in the back, and it's been going ok and I can debug it etc.

However, I tried to debug it this evening and now get there error:
"A project with output type of Class Library cannot be started directly".

It advises changing the project properties/Start Action to
"Start External Program" or "Start URL".

When I look at my project properties, sure enough it says Output Type: Class Library , and the Output Name is Project1.DLL. There is no other option in the Output Type dropbox.

I haven't had this issue before and wonder what has changed (this evening I added some modules and a class, but didn't fiddle with any settings).
Can someone please advise a newcomer to .net on how to get my project debugging again?

Best regards
and thanks in advance
Graeme
 
Even though I had WebPage.aspx set as "Set as Start Page", I had a component project as "Set as Startup Project".

Have to set my web projected as startup project.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top