What is a "could not find type System.Collections.Generic.List" in the .NET Designer?
c#
Solution
Just in case anyone is curious, here's what happened.
Somehow, via accident a line of code got added into the Forms InitializeComponent Method that was basically just constructing a generic list. Simple code, no big deal, and it compiled just fine.
Well it seems that you can't put anything with Generics in the InitializeComponent method. I'm not sure why you'd ever need to do it, but if you're seeing this error, make sure you don't have any generic code in InitializeComponent.
Problem
I've got a WinForms project that I've had for quite some time, and now suddenly, I can't open the designer anymore and when I try to open the designer I get an error that says could not find type 'System.Collections.Generic.List' All of the code builds just fine, but I can't use the designer anymore, and I don't know what happened, nor do I have any idea where to look to solve the problem. Has anyone ever run into this or have any insight?