problems at design time (Win.NET)
Scenario:
- is developing a graphical user interface of a form and you need to create a separate control from then use the main form.
- you do not have auto increment in the buid.
Once you add the UserControl on the form, this error happen to be at design time:
the fix is \u200b\u200bto crown the public properties of the UserControl with the Custom Attribute
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] and
that's it.
From what I understand this attribute tells the designer not to worry about serializing the property and carry on.
What I do not understand why you need to serialize this property that is not localized and is not exported in the resource file. Maybe it's something internal to the designer.
0 comments:
Post a Comment