c# - XML serialization error on Universal Store App -
on universal app project i'm trying deserialize xml file, in windows version works fine in windows phone ran next error:
{system.invalidoperationexception: global::app.data.dataitem cannot serialized because not have parameterless constructor. @ microsoft.xml.serialization.generatedassembly.xmlserializationreaderlist1.read2_dataitem (boolean isnullable, boolean checktype) @ microsoft.xml.serialization.generatedassembly.xmlserializationreaderlist1.read3_arrayofdataitem()}
how can solve this? code: [link]
c# xml windows-phone-8 serialization
No comments:
Post a Comment