• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

Class Library failled to open

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.
Class-Library.png
0
Cartillo
Asked:
Cartillo
1 Solution
 
Todd GerbertIT ConsultantCommented:
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"
Untitled.png
0
 
CartilloAuthor Commented:
Hi,

Thanks for the help
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now