My Windows Forms application was working earlier, however suddenly it stopped working. I am getting following exception:
This is one weird issue I had to deal with for the last 2 hours. I solved it by removing the static from the lists I created.
private static readonly List someList = GlobalConfiguration.Connection.PopulateList();
with this one:
private readonly List someList = GlobalConfiguration.Connection.PopulateList();
Hope it helps and you don't have to spend two hours to find out the bug...