我可以在 UWP 项目中跳过链接程序集吗?

Can I Skip linking assemblies in UWP Project?

我使用 xamarin 表单。我仅在 Release 模式下遇到 "Newtonsoft.Json.JsonConvert.DeserializeObject" NullReferenceException 在 Xamarin.UWP 上崩溃的问题(在调试工作中,但在 Release 中没有)。我看到,我可以将 System.Core;System.Runtime.Serialization 添加到跳过链接程序集来修复它。在 Android 项目中我找到了这个菜单,但在 UWP 项目中没有。我能做什么?

我编辑了@Dmitrii Kurylev 的评论作为答案。如果其他用户遇到这个问题,请参考以下回复。

Solution is simple do not use json converter when you use the following code .it give null reference exeption on UWP in release mode.

DeserializeObject<List<MyClass>>(content, new MyJsonConverter());

For right work you should use

DeserializeObject<List<MyClass>>(content)

And if you want to use converter you can use attribute [JsonConstructor] or JsonConverter(typeof(MyClass))] in MyClass description. It will work correctly.