This project is read-only.
1
Vote

writting in Plist

description

i have this erreur when i am try to write in plist (in WP7 project)
i am using a simple exemple
        var data = new PropertyList();

        data.Add("IsCompleted", true);
        data.Add("SynchronizationCount", 1);

        Console.WriteLine(data.ToString());

i have NotSupportedException in data.ToString()

can anyone help me !!

comments

kais0051 wrote Jun 11, 2013 at 10:53 AM

i pull up the source code and found exactly the error
it's in this instruction
writer.WriteDocType("plist", "-//Apple Computer//DTD PLIST 1.0//EN", "http://www.apple.com/DTDs/PropertyList-1.0.dtd", null);

in PropertyList class

so do anyone have any suggestion !