In that topics Difference between LoadFile and LoadFrom with .NET Assemblies? I found the next code:
Assembly assembly1 = Assembly.LoadFrom(path1);
Assembly assembly2 = Assembly.LoadFrom(path2);
// These both point to the assembly from path1, so this is true
Console.WriteLine(string.Compare(assembly1.CodeBase, assembly2.CodeBase) == 0);
I did that so:
Assembly ass1 = Assembly.LoadFrom(Path.GetFullPath ("DataTypes.dll"));
Assembly ass2 = Assembly.LoadFrom(Path.GetFullPath("test\\DataTypes.dll"));
Console.WriteLine(ass1.CodeBase == ass2.CodeBase);
DataTypes.dll from folder test is the copy of DataTypes.dll from program folder. It is expected that result would be true, but my program show FALSE. If it is needed I can give any information for explanation.