Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

why am i getting error on windows form designer?

I’m working on legacy code in visual studio 2019 and c# and my projects has reference to Telerik component.

All my user control has designer error. Also when I create new empty user-control, I got designer error

I have this problem in current solution and when I create new fresh solution, everything is OK.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Note that I’ve checked the designer’s code several times.

I searched for the problem on Google and tried the following ways

  1. reset the visual studio
  2. checking the following option:
    Tools >> Options >> Windows Forms
    Designer >> automatically Populate
    Toolbox

here is call stack for error

at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
End of stack trace from previous location where exception was thrown —
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

>Solution :

Please take a look at Windows Forms Designer error page

hope it help to solve your problem

And some helpful tips in Stackoverflow

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading