I have 64 bit dll Test.dll. Load this dll through reflation from 32 bit exe.
AssemblyName name = AssemblyName.GetAssemblyName("Test.dll");
assembly = Assembly.Load(name);
But the Load method give below exception :
An unhandled exception of type 'System.BadImageFormatException' occurred in TestDll.exe like "Could not load file or assembly 'Test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Can any one suggest how to fix this?