My Windows Forms application was working earlier, however suddenly it stopped working. I am getting following exception:
This issue for me was caused by a rogue user.config file that was created in the AppData\Local[Manufacturer][Product Name] directory. I'm not sure how it got there, but seems to be created every now and then.