Hi all, I have a simple ASP.Net Web application which is supposed to load a 64- bit C# DLL and call a couple of functions. I have compiled both of them with x64 configuration (and not with the "Any CPU" config).
But when I hit Ctrl + F5 on Visual studio, the website runs and throws me the annoying "BadImageFormatException, could not load TestDLL or one of its dependencies" message. The website runs properly with a DLL built with the "Any CPU" config. I don't know what happens to it when it comes to running with 64-bit version of the DLL. There is no problem with the DLL as it gets loaded and executes successfully with a 64-bit console application. Can anybody help me with this problem?
