Codechef4u is a community for computer professionals,by computer professionals,just like you; who loves sharing and helping each others,Join them
Share your post

Could not load file or assembly


Could not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException)


Solution 1:

 Check Solution Target Platform (i.e. X86, X64, ANY CPU) is same with internal projects target platform.
For Example if Solution Target Platform is ANY CPU then project platform should be ANY CPU.

Solution 2:

Check Solution and internal projects has same framework