B
Bob
I have a common DLL used across several applications, let's call it One.dll.
Then I have a data access component (called Two.dll) that references
One.dll. A particular application only needs Two.dll (and not One.dll
directly). I was hoping that add Two.dll in the application and reference
its namespace would be enough. However, during compiling the main
application, it complains that the classes in Two.dll needs One.dll,. which
is not referenced. I understand what the message means literally, and if I
add One.dll in the main application, it compiles and works fine. However, I
think it'd be better if Two.dll has enough info from One.dll and it's
self-contained. This way it's only necessary to reference Two.dll in the
main app. Is this doable? or not the intended behavior at all?
Then I have a data access component (called Two.dll) that references
One.dll. A particular application only needs Two.dll (and not One.dll
directly). I was hoping that add Two.dll in the application and reference
its namespace would be enough. However, during compiling the main
application, it complains that the classes in Two.dll needs One.dll,. which
is not referenced. I understand what the message means literally, and if I
add One.dll in the main application, it compiles and works fine. However, I
think it'd be better if Two.dll has enough info from One.dll and it's
self-contained. This way it's only necessary to reference Two.dll in the
main app. Is this doable? or not the intended behavior at all?