I'm working on a windows form application that I built to target .net 4.5.2. I then found out my client's machines only run .net 4.0 and they would not be upgrading soon.
I then changed the framework that the application was targeting to 4.0 and got the system.badimageformat exception. This exception would then stay when I changed the framework back to 4.5.2.
So my question is: how do I get my application to run with 4.0 when I cannot change the targeted framework?