I have the following error. I was rebuilding an application, to which I made minor changes. This is an client application not a

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.

'.ctor' is not a valid identifier.

Hide

at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomEventBindingService.ValidateMethodName(String methodName)
at System.ComponentModel.Design.EventBindingService.EventPropertyDescriptor.SetValue(Object component, Object value)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAttachEventStatement(IDesignerSerializationManager manager, CodeAttachEventStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)



Answer this question

I have the following error. I was rebuilding an application, to which I made minor changes. This is an client application not a

  • Whoisit

    Look at the errors displayed in the tasklist. Most likely you have a couple of errors that are preventing the compiler from providing the required information to the designer.

    Hope this helps,



  • nzmike

    You may already found an answer for this problem.

    I got the same error while I was modifying a VB.net program and I found the reason. I've accidently changed the name of the load function. When I fixed the name with the correct syntax my program worked with no errors.


  • I have the following error. I was rebuilding an application, to which I made minor changes. This is an client application not a