我正在尝试让Zumero DataGrid和Xamarin UWP一起工作。我已经遵循了我能找到的所有文档,但不幸的是,我仍然在App.g.i.cs中遇到以下异常:
#if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
UnhandledException += (sender, e) =>
{
if (global::System.Diagnostics.Debugger.IsAttached)
global::System.Diagnostics.Debugger.Break();
};
#endif通常我可以用调试器自己弄清楚这些事情,但我要做的就是:
Message "Object reference not set to an instance of an object."还有这个:
at Xamarin.Forms.Platform.UWP.TaskExtensions.<>c.<WatchForError>b__2_1(Object e)
at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()请注意,数据网格在Android上工作得很好--但不是在我的UWP应用程序上。
有什么建议吗?
发布于 2016-08-09 10:37:06
目前,Zumero DataGrid还没有为UWP做好准备,我已经尝试过了,但得到了这个异常:
无法解析程序集或Windows元数据文件“”Xamarin.Forms.Platform.WinRT.dll“”
根据我的经验,这是因为在nuget包中缺少Xamarin.Forms UWP渲染器。其他存储库也存在类似问题:Xamarin.Forms nuget lacks Windows UWP support (currently only WinRT and SL)
基于open source code,仅支持Windows8.1/ Windows phone8.1/ Windows phone8.0 for Windows平台
我建议您在他们的repository中提交功能请求
https://stackoverflow.com/questions/38754288
复制相似问题