Serialization-Deserialization and .Net framework versions

  • Thread starter Thread starter michelqa
  • Start date Start date
M

michelqa

Hi,

Is it possible to serialize objects in previous version of .net
framework and then deserialize it in 3.5 version ?

Ex:
application A (.Net 1.0) serialize a System.Windows.Forms.ListView
object
application B (.Net 3.5) deserialize the ListView object in 3.5
framework

Since newer .Net version always contain older framework versions
properties is there a workaround to do this? Any ideas? Objects are
always deserialzed using latest framework version.

Thanks
 
Hi,

   Is it possible to serialize objects in previous version of .net
framework and then deserialize it in 3.5 version ?

Ex:
application A (.Net 1.0) serialize a System.Windows.Forms.ListView
object
application B (.Net 3.5) deserialize the ListView object in 3.5
framework

Since newer .Net version always contain older framework versions
properties is there a workaround to do this?  Any ideas?  Objects are
always deserialzed using latest framework version.

Thanks

Not sure but you might have better luck with objects serialized
in .net2.0. 2.0 introduced Version Tolerant Serialization. I believe
the docs make no promises of compatibility for binary serialized
objects...
 
Not sure but you might have better luck with objects serialized
in .net2.0.  2.0 introduced Version Tolerant Serialization.  I believe
the docs make no promises of compatibility for binary serialized
objects...- Hide quoted text -

- Show quoted text -

Thanks I need to read more about version tolerance :) Net1.x objects
must be also supported but look like it's exactly what I need for 2.0
and more.
 
Back
Top