Xml failing to deserialise
- by Carnotaurus
I call a method to get my pages [see GetPages(String xmlFullFilePath)]. The FromXElement method is supposed to deserialise the LitePropertyData elements to strongly type LitePropertyData objects. Instead it fails on the following line:
return (T)xmlSerializer.Deserialize(memoryStream);
and gives the following error:
…