Including references question

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top