Hi.
I have a problem that is driving me crazy and I hope it can be resolved easly. I have included a sample application. To reproduce error open Form1 in the Designer. Now press F5 to start application.
Form1 should crash in the designer during compile process with this message:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The file F:\WindowsApplication2\WindowsApplication2\Form1.cs cannot be modified in the designer while building or debugging.
Hide
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.OnModifying()
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.OnComponentRemoving(Object sender, ComponentEventArgs e)
at System.ComponentModel.Design.ComponentEventHandler.Invoke(Object sender, ComponentEventArgs e)
at System.ComponentModel.Design.DesignerHost.RemoveFromContainerPreProcess(IComponent component, IContainer container)
at System.ComponentModel.Design.DesignerHost.Remove(IComponent component)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.DestroyComponent(IComponent component)
at Syncfusion.Windows.Forms.Tools.Design.ButtonEditDesigner.host_LoadComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.ComponentModel.Design.DesignerHost.OnLoadComplete(EventArgs e)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.Serialization.IDesignerLoaderHost.EndLoad(String rootClassName, Boolean successful, ICollection errorCollection)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.OnEndLoad(Boolean successful, ICollection errors)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.OnEndLoad(Boolean successful, ICollection errors)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.System.ComponentModel.Design.Serialization.IDesignerLoaderService.DependentLoadComplete(Boolean successful, ICollection errorCollection)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
at System.ComponentModel.Design.DesignerHost.BeginLoad(DesignerLoader loader)
Thanks.
WindowsApplication228.zip