I am persisting objects to a database using the BinaryFormatter. If the
version of the assembly containing the serializable type changes, can the
serialized object in the database be deserialized with the newer version.
In other words, is there any way to deserialize objects that were
originally serialized under a different version number, as long as the
type's interface hasn't changed?

I've tried using the <assemblyBinding> config section, but in my tests,
deserialization is ignoring the assembly version redirection.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to