Open GoogleCodeExporter opened 8 years ago
You didn't properly close the writer. Try:
using(var writer = XmlWriter.Create("toto.xml", xmlWriterSettings))
{
Serializer.Serialize<ClassSTest>(writer, this);
}
Note, however, that protobuf-net *is not xml*; the xml here is intended for
some specific use-cases for systems that only allow xml, but it is actually
just a hunk of raw data in the output. protobuf-net is not an xml formatter.
Original comment by marc.gravell
on 27 Feb 2014 at 5:50
Ah OK.
I thought it was also an xml formatter.
It would have been useful for my project.
Thank you anyway.
Protobuf-net is great.
Original comment by harold.p...@gmail.com
on 3 Mar 2014 at 10:36
Original issue reported on code.google.com by
harold.p...@gmail.com
on 27 Feb 2014 at 3:03