Tengo un UserControl que es parte de una biblioteca de clases. Hago referencia a este proyecto desde mi solución. Esto agrega un control del proyecto al que se hace referencia a mi caja de herramientas. Agrego el control a un formulario. Todo se ve bien, compilo todo y corro. Perfecto ...Error al mostrar un WinForm en modo Diseño con un control personalizado en él
Pero cuando cierro el .frm con el control y lo vuelvo a abrir, aparece este error. El código continúa ejecutándose.
Puede tener algo que ver con espacios de nombres. El espacio de nombre original era simplemente "Diseño" y esto era ambiguo y conflictivo, así que decidí cambiarle el nombre. Creo que fue cuando comenzaron mis problemas.
To prevent possible data loss before loading the designer, the following errors must be resolved:
2 Errors
Ignore and Continue
Why am I seeing this page?
Could not find type 'Besi.Winforms.HtmlEditor.Editor'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (1)
1. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Editor1' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. BesiAdmin frmOrder.Designer.vb Line:775 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
Sin errores.Todo compila y funciona bien. Es solo el modo de diseño que falla. – ChadD
Todas las recomendaciones de sonido y todas las cosas que probé sin suerte. – ChadD
Difícil de decir entonces, aunque verificaría cuidadosamente el archivo del diseñador una vez más ... 'Besi.Winforms.Html.Editor.Editor' es correcto, ¿verdad? –