Deserialize changed object

  • Thread starter Thread starter M6rk
  • Start date Start date
M

M6rk

Hi,

I want to deserialize a binary serialized object that had been serialized
with a slightly different class definition. (a new member had been added).
Instead of success, i get error indicating object had been serialized with N
members and now has N+1 members.

Any elegant solutions to this problem?

Thanks,

Mark
 
I think .NET 2.0 has new attributes for versioned serialization: something
like [optional] or [new]
Otherwise you have to rewrite the whole serialization process.

Leonid Finis.
 
Back
Top