Error: BadImageFormatException was unhandled
by Conor | February 4, 2015
Despite the unhelpful name, the BadImageFormatException error almost always results from confusion with 32-bit/64-bit DLLs and project settings. For example, you’ve tried to load a 32-bit DLL into a 64-bit application or you’ve tried to load a 64-bit DLL into a 32-bit application. This error message can be easily replicated in a 32-bit C# application […]
Keep reading