【发布时间】:2017-07-03 13:39:07
【问题描述】:
我正在为我的 Xamarin.Android 项目使用 Dotfuscator“PreEmptive Solutions”。 当我使用 Dotfuscator 进行发布模式时,Newtonsoft.json 库在我的 PCL 中不起作用(它仅在 Xamarin.Android 中运行良好)。 如果我禁用 Dotfuscator,该应用程序可以正常工作。
知道怎么解决吗?
【问题讨论】:
-
您看到什么样的错误?您可能会遇到错误,因为混淆会重命名您的 JSON 序列化所依赖的代码元素。如果是这样,您可能需要从重命名中排除某些代码元素。有关发现错误和配置重命名排除的案例研究,请参阅 Dotfuscator-Xamarin 文档的 the Configure Renaming Exclusions 部分。 (免责声明:我为 PreEmptive 工作。)
标签: xamarin.android dotfuscator preemptive