Namespace Help! Please!

  • Thread starter Thread starter Roberto Modica
  • Start date Start date
R

Roberto Modica

Hi all,

I am trying to create a namespace hierachy but i think i
am doing something wrong.

I have an DAL vb file with the namespace:

CompanyName.newsletter.DAL

and i compile that using the standard vbc in command
prompt routine, and that works. then i try and create a
Business Layer vb file, with the namespace:

CompanyName.Newsletter.BLL

But for this to work i have to compile both files
together, even though i have imported the
CompanyName.newsletter.DAL namespace. What am i doing
wrong, as i want the two files to sit in two seperate
assemblies.

Please Help!

Rob
 
First compile the DAL (assuming the BLL references the DAL). Then, when you
compile the BLL, use the /reference switch to specify that the BLL should
reference the DAL.
-mike
MVP
 
Back
Top