c# - Unable to reference one class library from another -
i have assignment oop in c# involves me creating base class (in form of class library) , derived class (as class library). realize 2 function need reference base class' .dll in derived class. however, unable generate .dll file base class, error "a project output type of class library cannot started directly". textbook says fix click "build solution" in vs 2013, should make runnable. i've done so, , yet mien still not function. going wrong?
"a project output type of class library cannot started directly"
this means trying run project marked library, not build it. compile project without trying run it, , create project runnable (e.g. console app, win forms app, etc) , reference current solution new project.
alternatively, change type of current project 1 runnable.
Comments
Post a Comment