Possible Version mismatch. Type System.Collections.Comparer has 1 members, number of members deseria

  • Thread starter Thread starter Matt G
  • Start date Start date
M

Matt G

Hi,

I have an application written and deployed in version 1.0 of the
framework, and a few classes (which use sorted lists) are custom
serializaed to a database. This works fine, but i have recently
upgraded to version 1.1 of the framework and have been getting this
version mismatch error.

"System.Collections.Comparer has 1 members, number of members
deserialized is 0"

Upon deserialization, it seems that following the framework upgrade,
the new class cannot be populated using data from the old format.
If i map the application back to version 1.0 i no longer get the error
deserializing.

Has anyone else had this problem? I'm not totally sure, but it seems
like there has been a change in the members of the sorted list class
in 1.1.
Framework upgrade. If anyone has any ideas/suggestions for a work
around, they would be greatly appreciated!

Many thanks,

Matt G
 
Back
Top