I have a strange situation about object deserialization. My assemblies all had strong name but signed with different key pair file - I did not realize it is better to have all assemblies signed with the same key pair file before. And now I need to use one
single key pair file to resign all assemblies for some other purpose. But After I did that, my program cannot deserialize objects saved by previous version of the assemblies anymore. Use XML object as example,
In the XML file, the object is saved with this kind of information,
<MyObject version="1" referenceType="MyObject, Assembly1, Version=22.214.171.124, Culture=neutral, PublicKeyToken=f89a7ef07260c910">
<.... omited ... >
The problem is that, the Assembly1 is resigned and the public key token of the running assembly does not match the token in the xml file. The same problem happens in my binary objects.
Any gurus have some idea to deserialize objects after I resigned the assemblies? My program saved hundreds of objects, I hope there is some solution which will work with all of those objects.
View Complete Post