C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Debug error


Posted Date: 30 Jul 2008      Total Responses: 3

Posted By: raniiswathy       Member Level: Silver     Points: 1



Hello all,

As soon as i press the debug its showing the following message.

Error message: A project with an output type of class library cannot start 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.

why this message is showing and how to avoid it.

thank you





Responses

Author: saji    30 Jul 2008Member Level: GoldRating:     Points: 3

Hii,

i think you are created class libary project...
A class libary project not directly excuatble. For that u need
add a console application or windows application and refer u r class libary in new project..


thanks



Author: Meera    30 Jul 2008Member Level: GoldRating:     Points: 1

u need to set the project which contains ur .aspx pages as ur startup project.

thanks.



Author: Sareesh.V    01 Aug 2008Member Level: SilverRating:     Points: 3

Hello,
In case of windows application,if you created a dll or class then it cannot run directly...
you need to add a start up exe, from there you need to run the dll or acccess the class.
Thanks
Saresh



Post Reply
You must Sign In to post a response.
Next : convert excel 2007 file to pdf file through VB
Previous : vbscript
Return to Discussion Forum
Post New Message
Category: Visual Studio

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use