The full error description is as per below:
And I found a few similar question posted before: A and B
But the question in A and B does not provide detail of problem description (perhaps we prompted the same error message but caused by different reason? I am not sure..). Any how, answer in A and B does not have good solution. So I decided to post the similar question with some more details.
My problem is as per below:
The Designer auto generate a new code (ErrSer1.Designer) which contain the same partial class name in (ErrSer.Designer). [Shown in printScreen_1 -> line 25 ]
The difference as we can see is, one is in ErrSer1.Designer (the extra auto generated one)
internal class ErrSer
Another one is in ErrSer.Designer (the original one who suppose to be)
partial class ErrSer
Here is the printScreen_1 to show ErrSer1.Designer (the extra auto-generated one) [ Notice line 25 ]
And here is the printScreen_2 to show ErrSer.Designer (the original and usual one) [ Notice line 3 ]
Lastly... what can I do to solve this annoying auto-generated code problem?
EDIT1: My ErrSer Form declared like this
public partial class ErrSer : Form
EDIT2: My .csproj file