Unfortunately, I don’t know what caused this for me, but after I spent a bit of time finding a job that seems to work without problems for me.
I simply deleted the designer file and rebuilt my project. This automatically recreates the constructor file, and everything continues to work as usual.
The only noticeable difference is that the designer file now has 1 at the end.
eg. String.resx -> Strings1.Designer.cs
I have made changes to this file in the past and without problems. If anyone can explain what got into this corrupt state, please share with us.
source
share