Deserialize object into assembly that is now signed and versioned

后端 未结 3 697
被撕碎了的回忆
被撕碎了的回忆 2021-01-04 22:23

I used to serialize a treeview with the BinaryFormatter (c#). The Assembly that did just that and which contains the all the serializable classes has now a strong name and i

3条回答
  •  庸人自扰
    2021-01-04 22:56

    My recommendation is to never use the builtin serializes for your persistent storage. Always code your own if for no other reason someday in the future you will need to read and write your file formats from another language.

提交回复
热议问题