Wednesday, March 6, 2013

Visual Studio 2010. BadImageFormatException? Resolved

This is an exception which occurs when we upgrade a project to a new version of VS Studio in win7 and later. To get rid of the problem follow these steps::
  1. Upgrade the project
  2. Project menu >Project Properties>Compiling>select the x86 the target CPU as in below image

Now your project is fully functioning.


  1. Thanks Giovanni G for sharing info. I was facing problem but solved after when I opened the project as you suggested.