NGUI – Free Version won’t compile for WP8 – How to FIX

So I am working on porting the Skeleton Dude starter kit I built to Windows Phone from Windows 8 Store and ran into the following problem…

“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).”

Continue reading