Serialization-Deserialization and .Net framework versions

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
 
A

Arnshea

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...
 
M

michelqa

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top