Android、iOS、Windows Phone、Windows Universal の開発とターゲット設定に Windows 10 と Visual Studio 2015 を使用しています。
XLabs SecureStorage Serviceを使用したいと考えていました。
XLabs.Platform パッケージ 2.3.0-pre02 を使用しています。
この行で例外が発生しています(UWPのみ)
secureStorage.Store(key, Encoding.UTF8.GetBytes(value));
例外の詳細は次のとおりです。
FileName : System.Runtime.WindowsRuntime、バージョン = 4.0.11.0、カルチャ = ニュートラル、PublicKeyToken = b77a5c561934e089
HResult : -2146234304
ヘルプリンク: null
InnerException : null
メッセージ: ファイルまたはアセンブリ 'System.Runtime.WindowsRuntime, Version=4.0.11.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' またはその依存関係の 1 つを読み込めませんでした。見つかったアセンブリのマニフェスト定義がアセンブリ参照と一致しません。(HRESULT からの例外: 0x80131040)
ソース: XLabs.Platform.UWP
SourceTrack : XLabs.Platform.Services.SecureStorage.d__6.MoveNext() で System.Runtime.CompilerServices.AsyncVoidMethodBuilder.StartTStateMachineXLabs.Platform.Services.SecureStorage.Store(String key, Byte[] dataBytes)
でUWPTest.SecureStorageService.Store(String key, String value, Boolean overwrite)