I have a control that has a couple of properties, one of them references the same object as the other. The code generated looks like this:
-------------------------
MyNameSpace.
Attributes attributes1 = new MyNameSpace.Attributes();
attributes1.ReferenceProperty = this.myControl1.ReferenceProperty; this.myControl1.AttributesCollection.AddRange(new MyNameSpace.Attributes[] { attributes1,
attributes2,
attributes3});
-------------------------
The code runs perfectly but when I try to open the form again I get:
Relationships between MyNameSpace.Attributes.ReferenceProperty and myControl1.ReferenceProperty are not supported.
Any ideas ?