之前沒用過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造成的異常
參考: