Hi, I wanna use JSON.NET Library to seralize objects in Windows Store Application - SDK Phone 8.1 but I am getting error:Assets/NewBehaviourScript.cs(3,7): error CS0246: The type or namespace name `Newtonsoft'
could not be found. Are you missing a using directive or an assembly reference?
I found in that [topic][1] that I had to copy json dll to assest folder because project get reloaded each time removing NuGet reference so I did it but now I got something like this:
*Error building Player: Exception: Failed to run Reference Rewriter with cmdline --target="Temp/StagingArea\Newtonsoft.Json.dll" --framework="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1" --platform="C:\Program Files (x86)\Windows Phone Kits\8.1\References\CommonConfiguration\Neutral\Windows.winmd" --support="Temp/StagingArea\WinRTLegacy.dll" --supportpartialns=Unity.Partial --system=System --dbg=pdb --alt=System.Xml.Serialization --ignore=System.IConvertible,mscorlib.[Temp/StagingArea\Newtonsoft.Json.dll]*
Is there possible to use Json.net library or any other way to seralize object data in in windows store phone app?
[1]: http://stackoverflow.com/questions/17070804/unity3d-removing-project-references-in-monodevelop
↧