I have created a set of classes in a C# .Net Class Library application.
Now I want to use that set of classes in another C# .Net application.
I have added a reference to the .DLL and can see it in the reference list of the new project, however it is not "visible" (in intellisense) when I try "Using..." it.
I'm obviously missing something here and would greatly appreciate any help.
Thanks, James
VulpesPosted Jun 1, 2012, 6:30 PM
If you don't do this, then they won't be accessible from outside the dll.
James McAllesterPosted Jun 1, 2012, 7:30 PM
Great to get such a quick response.
And thank you, you were quite right, I hadn't declared the classes as public.
I thought that I might be able to still add it in a using clause, but I can see why that wouldn't be true.
However, as a relative new fellow, I think it would have been nice to get an indication when I added the reference. After all, what's the point of adding the reference if there is nothing accessible. :)
So thanks so much for your help ... much appreciated.
James