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

http://docs.unity3d.com/Documentation/Manual/wp8-faq.html

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

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

http://indiedevspot.com/2014/05/07/ngui-free-version-wont-compile-for-wp8-how-to-fix/