Including references question

  • Thread starter Thread starter Christina Androne
  • Start date Start date
C

Christina Androne

Hello

This is a simple question :

I have to build an C# app and inlcude the A.dll in references path.
A.dll makes use of B.dll. Both assemblies are not distributed with
VS.NET. Do I have to add B.dll in the preoject's references as well?

SOrry for the newbie question,
Christina Androne
 
Christina,

It depends. If you are just using classes in A, and classes in A don't
expose anything from B, then you don't have to include a reference to B.
However, if A exposes classes in B, or you are utilizing classes in B, then
you will have to include a reference to it.

Hope this helps.
 
Back
Top