hello, i want to use :
It's possible?
This error appears:
C#:
Helper.ObjectToXML<SerializableDictionary<ulong, Dictionary<string, string>>>(listcheck, RustPPModule.GetAbsoluteFilePath("listcheck.xml"));
This error appears:
C#:
System.NotSupportedException: The type System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyT
oken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] is not supported because it imple
ments IDictionary.
at System.Xml.Serialization.TypeData.get_ListItemType () [0x00000] in <filename unknown>:0
at System.Xml.Serialization.TypeData.get_ListItemTypeData () [0x00000] in <filename unknown>:0
at System.Xml.Serialization.TypeData..ctor (System.Type type, System.String elementName, Boolean isPrimitive, System.Xml.Serialization.TypeData mapp
edType, System.Xml.Schema.XmlSchemaPatternFacet facet) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.TypeData..ctor (System.Type type, System.String elementName, Boolean isPrimitive) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.TypeTranslator.GetTypeData (System.Type runtimeType, System.String xmlDataType) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.TypeTranslator.GetTypeData (System.Type type) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.TypeTranslator.GetTypeData (System.Type runtimeType, System.String xmlDataType) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.TypeTranslator.GetTypeData (System.Type type) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type type, System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraType
s, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSerializer..ctor (System.Type type) [0x00000] in <filename unknown>:0
at RustPP.Helper.ObjectToXML[SerializableDictionary`2] (Fougerite.SerializableDictionary`2 obj, System.String path) [0x00000] in <filename unknown>:
0