0

first of all, this is not a duplicate post. I have already searched and all the answers say the same thing about IIS targetting 32 bit or 64 bit CPU. I have tried this already but this exception is on IIS Express with Any CPU targetted.

Problem is, yesterday my MVC 5 app was working fine, I could debug normally etc... Today after i just turned on PC at office and started VS and just debug my app it just gave the badImageException ? Why does it do this out of nowhere? Also i'm using VS 2017

enter image description here

Jackal
  • 3,359
  • 4
  • 33
  • 78

1 Answers1

0

If anyone gets this error out of nowhere, just delete bin and obj folders, it works right after

Jackal
  • 3,359
  • 4
  • 33
  • 78