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 as target CPU as in below image

Now your project is fully functioning.

3 comments

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

    ReplyDelete
  2. Very nice posting. Your article us quite informative. Thanks for the same. Our service also helps you to market your products with various marketing strategies, right from emails to social media. Whether you seek to increase ROI or drive higher efficiencies at lower costs, Pegasi Media Group is your committed partner will provide b2bleads.MS VB .NET Users Email List

    ReplyDelete