[Mono-list] Loading assemblies from a different places
Robert Jordan
robertj at gmx.net
Thu Apr 7 06:39:23 EDT 2011
On 07.04.2011 12:01, Sermus wrote:
> With Mono 2.6.7 it behaves differently. It always returns reference to
> dir1/assembly.dll whatever path i pass to LoadFrom(). I suppose this is
> because Mono detects that the assemblies are really the same (BTW how?) and
> after loading the first one it doesn't attempt to load the rest of them.
See http://msdn.microsoft.com/en-us/library/1009fa28%28v=VS.80%29.aspx
"If an assembly with the same identity is already loaded, LoadFrom
returns the loaded assembly even if a different path was specified."
The identity is basically:
- the display name of the assembly (usually the file name w/out
path and extension),
- the version,
- the public key,
- the culture.
Robert
More information about the Mono-list
mailing list