我现在使用 MVVMCross 有一段时间了。它运行良好,但我的输出窗口中有这些令人不安的消息,告诉我可能有问题:
The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
The request to load the retargetable assembly System.Core v2.0.5.0 was remapped to System.Core v2.0.0.0
The request to load the assembly System.Core v2.0.0.0 was remapped to v3.5.0.0
The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
我认为,这与 PCL 程序集的工作方式有关,但我无法详细说明......
最佳答案
我相信这只是 Xamarin 的 CLR 运行时的调试输出,因为它加载了 PCL,这不是问题。
如果您搜索 xamarin The request to load the retargetable assembly System.Core v2.0.5.0 was remapped to System.Core v2.0.0.0
你会发现一些关于此的点击,包括几个 Xamarin Bugzilla 条目 -
https://www.google.co.uk/search?client=safari&rls=en&q=xamarin+The+request+to+load+the+retargetable+assembly+System.Core+v2.0.5.0+was+remapped+to+System.Core+v2.0.0.0
如果您担心或者这是否会导致性能问题,那么由于这是在 Xamarin.Android/iOS 封闭源代码中发生的,那么我建议您尝试 Xamarin 支持以获得帮助和帮助。
关于xamarin - MVVMCross 中的常量程序集重新映射,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21439225/