[.net] Missing classes in class library

Started by
1 comment, last by lucem 16 years, 2 months ago
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.
V/R,-AJThere are 10 kinds of people in the world: Those who understand binary and those who don't...
Advertisement
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.
V/R,-AJThere are 10 kinds of people in the world: Those who understand binary and those who don't...
That's exactly what it is - private.
Note the difference in standard behaviour to Java!

Just wanted to stress that ;)
Using your brain doesn't hurt at all.

This topic is closed to new replies.

Advertisement