I have a C# application that must run in x64 mode. The problem is I try to create unit tests that run methods in the x64 application and the unit test project won\'t even b
This error can be fixed if you clean and rebuild all of the relevant assemblies. There must be one file corrupted unexpectedly.
One thing for VS to improve, is when the bad format exception is detected, please report the file name. Then the developer can only rebuild that file.