序列化时提示There was an error reflecting type 'System.Collections.Generic.List`1

序列化xml文件到List中,非win10下出现了这个错误,但是在win10下正常。经过仔细的研究,发现是序列化工具类不能使用Static.去掉Static即可。

posted @ 2018-03-07 14:09  zhaogaojian  阅读(1326)  评论(0编辑  收藏  举报