Build for Windows Phone 8 problem

Hi Everybody!

resume:
This error ocorres when I build for Windows Phone 8 on Unity

Error building Player: Exception: Error: method 'System.String[] System.IO.File::ReadAllLines(System.String)' doesn't exist in target framework. It is referenced from Assembly-CSharp-firstpass.dll at System.Void FMOD_Listener::Initialize().

Error: method 'System.String System.Text.Encoding::GetString(System.Byte[])' doesn't exist in target framework. It is referenced from Assembly-CSharp-firstpass.dll at System.String FMOD.Studio.SOUND_INFO::get_name().

Error: method 'System.String System.Text.Encoding::GetString(System.Byte[])' doesn't exist in target framework. It is referenced from Assembly-CSharp-firstpass.dll at System.String FMOD.Studio.MarshallingHelper::stringFromNativeUtf8(System.IntPtr).


details:
I have a trouble when I build my game to Windows Phone 8. I use FMOD to implement the audio in the game. In an classe named FMOD_Listener have a call to System.IO.File.ReadAllLines. The console say than this method don’t exist but it work very well in the Android build.

a. Visit the docs.
b. Read the first line of the page, which tells you more about the error you get.
c. Visit the linked Microsoft site.
d. Dive into the System.IO namespace.
e. Drill down into the File class.
f. Observe that ReadAllLines doesn’t exist on the WP8 version of .Net.
g. Re-write this part of your code to work on WP8 using the classes and functions it has available.
h. Repeat.