dll inside a dll?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is it possible to reference a dll that is inside another dll?

in our program we have a solution called functions.dll and we are also using
the mysql.data.dll in all our other solutions. is there a way to reference
the mysql.data.dll in each solution by only making the functions.dll one of
the references? i tried it by just having the "using mysql" in the
functions.dll but it does not seem to work. is this possible or not?

thanx in advance for the help
 
You need to reference an assembly which you directly use in all assemblies
in which you use it. Directly using an assembly means using any of the types
declared in the assembly, or calling any methods that return or take as
parameters types declared in the assemblies. To do what you want to do,
you'd have to completely wrap all mysql.data types within functions that do
not accept or return any types declared in mysql.data.

So, the basic answer is that it's better to just reference the mysql.data
assembly in functions and in your other projects.
 
Back
Top