Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

JsonConvert.DeserializeObject doesn't work in Release mode (Android only)

$
0
0

Hi,

I have a very strange problem deserializing object from json string.

Everything works good in debug mode, but not in release with the same data. The strangest part is that I use it in several places - one is generic call, and it works, the second one is parsing of the exact object (failing one). I guess it something with linker. If to set linker mode to "none" it resolves the problem, but almost 50 MB apk is not acceptable... I used "link SDK assemblies only" and tried to add almost every assembly to "linking ignore list", nothing helps. If needed I can make simple repro project.

Anton


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>