What is the "Could not find the type System.Collections.Generic.List" in .NET Designer?

I have a WinForms project that I have had for some time, and now suddenly I can no longer open the constructor, and when I try to open the constructor, I get an error

could not find type 'System.Collections.Generic.List'

All the code builds just fine, but I can no longer use the constructor, and I don’t know what happened, and I don’t know where to look for a solution to the problem. Has anyone ever come across this or had any understanding?

+3
source share
5 answers

Just in case, someone is interested, that's what happened.

- InitializeComponent Forms, . , , .

, , Generics InitializeComponent. , , , , InitializeComponent.

+8

. Designer. , .

+1

, .NET?

.

0

. , .

0

. :

1) .designer.cs.

2) , - , .

, System.Collections.Generic form.cs, form.designer.cs , - .

0

Source: https://habr.com/ru/post/1735955/


All Articles