ISerializable` doesn't exist in target framework

Hello:
Recently,I try to port my game to windows phone,but I failed.Because,I met a problem.It’s descripted like this:“ISerializable` doesn’t exist in target framework”.I knew Windows Phone don’t have it.However,my project use it to save my game date.So.if I change my storage means,I will work a lot.Do you know how to solve it quickly?SOS!Thanks a lot!

There’s already a topic about that. In short, Use #if UNITY_METRO

I know what your mean.But,I use xml to save all my game data.As a result,there are a lot of problems like “ISerializable doesn't exist in target framework".For example,"Serialization doesn’t exist in target framework”.If I change my code,I will work a lot.

This isn’t a Unity Issue. ISerializable (and SerializationInfo) do not exist for Windows Store Apps.