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.