A
andrew
I was earlier trying to persist a windows forms control to
disk using the binary formatter class.
I have devised a workaround, however I have Classes added
in as references to my project which still won't serialize
properly.
I have tested the referenced classes separately as
individual projects and added <Serializable(()> Attribute
tags to all class definition etc, and all seems well.
I then updated references for each to my current project,
and tried to repeat the same. In my current project the
test:
ReferencedClassName.GetType.IsSerializable returns True
however the binary formatter keeps falling over.
Is there anything specific I have to do when adding
references to classes to allow the Binaary Formatter to
work properly.
Any pointers would be greatly appreciated.
Andrew
disk using the binary formatter class.
I have devised a workaround, however I have Classes added
in as references to my project which still won't serialize
properly.
I have tested the referenced classes separately as
individual projects and added <Serializable(()> Attribute
tags to all class definition etc, and all seems well.
I then updated references for each to my current project,
and tried to repeat the same. In my current project the
test:
ReferencedClassName.GetType.IsSerializable returns True
however the binary formatter keeps falling over.
Is there anything specific I have to do when adding
references to classes to allow the Binaary Formatter to
work properly.
Any pointers would be greatly appreciated.
Andrew