之前没用过c#和.net 测试有个wp的sdk版本,将工作中遇到的问题记录一下。
1、“WinRT 信息: Error trying to serialize the value to be written to the application data store”异常
“System.Exception”类型的第一次机会异常在 mscorlib.ni.dll 中发生
WinRT 信息: Error trying to serialize the value to be written to the application data store
“UMTADemo.WindowsPhone.exe”(CoreCLR: .): 已加载“C:\windows\system32\SYSTEM.NI.DLL”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
Data of this type is not supported.
WinRT 信息: Error trying to serialize the value to be written to the application data store
“UMTADemo.WindowsPhone.exe”(CoreCLR: .): 已加载“C:\windows\system32\SYSTEM.NI.DLL”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
Data of this type is not supported.
Error trying to serialize the value to be written to the application data store
原因分析:可能是使用List造成的异常
参考: