UWP build, error: namespace Formatters does not exist

Hi,
Trying to build Universal 10 player. got error:

Assets\Scripts\Data\DataController.cs(4,36): error CS0234: The type or namespace name ‘Formatters’ does not exist in the namespace ‘System.Runtime.Serialization’ (are you missing an assembly reference?)

here is line 4:
using System.Runtime.Serialization.Formatters.Binary;

I’m using a binary file to keep log in info for player.
Works fine, standalone builds fine.

What is namespace for formatting binary files with UWP?
Thanks, Tom

1 Like

solved my own question, maybe it will help others. windows store does not support binary formatter. unity really should have this in the documentation as it looks like binary formatter is only a tool for standalone. i’m actually storing data on server side, so I just need username and password to access the data on server, so I’ll just use playerprefs.

2 Likes

Missing types are documented here:

http://docs.unity3d.com/Manual/windowsstore-missingtypes.html

2 Likes

thanks,didn’t see that in the manual.