Then you need to add a reference using the command line compiler options. I'm not sure what they are, but you could look that up since it's easy.
edit use this: (replace csc with whatever the vb.net compiler is)
Code:
csc /lib:<path_to_dll> /reference:<dll_name> <source_file_to_compile>