DLL Reference

cannorth

Member
Joined
Oct 22, 2010
Messages
15
Programming Experience
10+
Hello,

I have a reference to a dll in VB.Net for a dll solution, but when I rebuild it, I receive errors with some of the data types in the solution. The import namespace that corresponds to these data types is underlined green. Any suggestions what the problem might be?

Thanks,

cannorth
 
That is typically an error you get if you're trying to use a type that is not defined in your assembly or in any of the referenced assemblies, or that you haven't qualified the type name properly with the namespace it belongs to or haven't imported the namespace. In short, the compiler can't find the type you are using in your code.
You also said the namespace was underlined in green, there is a corresponding warning for that problem also, I'm guessing it says something like "Namespace doesn't contain any public members or cannot be found", which could mean you are missing an assembly reference. It could also mean the namespace you used before is not there any longer if the assembly you are referencing has changed.
 
Back
Top