P
Peted
Bellow is a snippet from the ms website about using loadfile on
assemblies that have the same identities.
I beleive this "identity" issue may be the cause of a problem i have
using the alternative Loadfrom option to load the assembly.
Cany anyone explain to me what this "identity" issue is, how it
relates to creating multiple DLL's in c#, and how does it differ in
the use of loadfile and loadfrom
any advice appreciated
thanks
Peted
Quote:
Use the LoadFile method to load and examine assemblies that have the
same identity, but are located in different paths. LoadFile does not
load files into the LoadFrom context, and does not resolve
dependencies using the load path, as the LoadFrom method does.
LoadFile is useful in this limited scenario because LoadFrom cannot be
used to load assemblies that have the same identities but different
paths; it will load only the first such assembly.
assemblies that have the same identities.
I beleive this "identity" issue may be the cause of a problem i have
using the alternative Loadfrom option to load the assembly.
Cany anyone explain to me what this "identity" issue is, how it
relates to creating multiple DLL's in c#, and how does it differ in
the use of loadfile and loadfrom
any advice appreciated
thanks
Peted
Quote:
Use the LoadFile method to load and examine assemblies that have the
same identity, but are located in different paths. LoadFile does not
load files into the LoadFrom context, and does not resolve
dependencies using the load path, as the LoadFrom method does.
LoadFile is useful in this limited scenario because LoadFrom cannot be
used to load assemblies that have the same identities but different
paths; it will load only the first such assembly.