G
Guest
I have a class which is serialized and stored in a file stream. Later I
changed the class with adding some fields to it. Now when I deserialize (I
am deserializing from a later version of my Application) the file framework
throws an exception stating that “Possible Version mismatch. Type [whatever]
has x members, number of members deserialized is y.". Kindly let me know any
work arounds for this problem. If possible send me a sample code that solves
this problem.
changed the class with adding some fields to it. Now when I deserialize (I
am deserializing from a later version of my Application) the file framework
throws an exception stating that “Possible Version mismatch. Type [whatever]
has x members, number of members deserialized is y.". Kindly let me know any
work arounds for this problem. If possible send me a sample code that solves
this problem.