Class Library failled to open

Posted on 2011-05-06
Last Modified: 2012-05-11
Hi Experts,

I would like to request Experts help. A project with an Output type of Class Library cannot be started directly. I not very sure how to fix this. I have attached the print screen of the error message when I load the project in  Visual Web Developer.
Question by:Cartillo
    LVL 33

    Accepted Solution

    Well, just like the error message says you can't directly start a Class Library (it's just a .dll file). A class library is just a collection of classes, functions, etc. that other programs use.  Sometimes you'll find more than one project in a Visual Studio solution; you might just need to right-click on the correct project and set it as the startup project.

    In the example in the picture there are two projects in the solution: "MyClassLibrary" and "WebApplication1".  WebApplication1 uses a method that's in MyClassLibrary.  I can't run MyClassLibrary, the project I want to run is WebApplication1 - so right-click on it, choose "Set as StartUp Project"

    Author Closing Comment


    Thanks for the help

    Featured Post

    Course: HTML5 Mobile App Development with PhoneGap

    PhoneGap can help you leverage your already existing HTML5, JavaScript, and CSS skills in order to create and deploy cross-platform mobile apps.This program comprehensively covers HTML5 mobile app development from top to bottom.

    Join & Write a Comment

    The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
    Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now