[.net] Missing classes in class library
I am making a small class library and so far it has three classes. It builds fine but when I use it in a project, Intellisense is only finding one of the classes in the namespace. Anything that might be causing this? I'll hold off on showing code for now, but if you need any, feel free to ask. I just don't want to post irrelevant code, because frankly I have no idea what might be causing the problem, or even if the code is the problem. Thanks.
Disregard, I found the problem. When the class library project is created, the default class it provides is public, but any class you add to it via New...->Class... is private by default. I changed the two other classes to public as well and everything works fine now.
That's exactly what it is - private.
Note the difference in standard behaviour to Java!
Just wanted to stress that ;)
Note the difference in standard behaviour to Java!
Just wanted to stress that ;)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement