I get this error
Error building Player: Exception: Error: method
System.Void System.IO.File::WriteAllText(System.String,System.String)
doesn’t exist in target framework. It
is referenced from Assembly-CSharp.dll
at System.Void
XMLSerialize::SaveXmlFile(AddressDirectory).
Error: methodSystem.String System.IO.File::ReadAllText(System.String)
doesn’t exist in target framework. It
is referenced from Assembly-CSharp.dll
at AddressDirectory
XMLSerialize::LoadXmlFile(). Error:
methodSystem.Void System.IO.File::WriteAllText(System.String,System.String)
doesn’t exist in target framework. It
is referenced from Assembly-CSharp.dll
at System.Void
XMLSerialization::SaveXmlFile(GameDataBase).
Error: methodSystem.String System.IO.File::ReadAllText(System.String)
doesn’t exist in target framework. It
is referenced from Assembly-CSharp.dll
at GameDataBase
XMLSerialization::LoadXmlFile().
I added this code in the xml.cs I was using but it didn’t help
#if NETFX_CORE using XmlReader = WinRTLegacy.Xml.XmlReader;
#else using XmlReader = System.Xml.XmlReader;
#endif