Search code examples
c#designer

My designer demolished and not found


Today I opened my project and saw this error, I can't open my designer for this error. I clicked on (ignore and continue) but it shows an empty form. What can I do?

enter image description here


Solution

  • From the error message it seems the Form1.Designer.resx is broken.

    The file has an XML file layout so it would be quite easy to spot missing closed tags, etc. The file can store images used too so it can get quite large.

    If you really can't rescue it, you could delete it. Often most information is already in the Form1.Designer.cs file.