- Home /
how do i port from unity3d to windows phone 8
These are the following errors i get while building the unity project to windows phone 8. 1) Error building Player: Exception: Error: method System.Byte[] System.IO.File::ReadAllBytes(System.String)
doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Byte[] NGUITools::Load(System.String).
2) Error: type System.Timers.Timer
doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at CEnergyManager.
3) Error: type System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at BinarySerializer.
4) Error: type System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void BinarySerializer::SerializeObjectList(System.Collections.Generic.List`1).
5) Error: method System.Xml.XmlWriter System.Xml.XmlWriter::Create(System.String,System.Xml.XmlWriterSettings)
doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void CExperiencePoints::writeXML().
could you please help me with solutions for these errors
Answer by Monis Siddiqui · Apr 22, 2014 at 10:49 AM
For system.timers replacement http://www.abtsoftware.co.uk/News/tabid/93/articleType/ArticleView/articleId/17/Drop_in_replacement_for_SystemTimersTimer_and_Stopwatch_in_Silverlight.aspx
Answer by Voxel-Busters · Jun 06, 2015 at 08:31 PM
Some of the datatypes and class methods are not supported in Windows Store Platform. Please check this link for more info http://docs.unity3d.com/Manual/windowsstore-missingtypes.html
Your answer
Follow this Question
Related Questions
URGENT - Cannot be serialized because it does not have a default public constructor.... 1 Answer
Problems with the XML Serializer 1 Answer
The given key was not present in the dictionary, i am calling the key immediately after adding it 1 Answer
"Root Element Missing: XML Exception" when trying to load data from XML file 2 Answers
Creating a spreadsheet with differents versions of materials preset. 0 Answers