Akavache 单元在未引用的程序集中定义:System.Reactive.Core 版本 2.2.5.0。在 nuget 上不可用

Akavache Unit is defined in an assembly not referenced: System.Reactive.Core version 2.2.5.0. Not available on nuget

我使用的是最新版本的 xamarin forms(截至 2017 年 12 月 17 日),但我无法在 akavache 中使用以下行:

await BlobCache.UserAccount.InsertObject(key, value);

没有收到错误:

The type 'Unit' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Reactive.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

v2.2.5.0 不在 nuget 上。在我想到之前我已经让它工作了但它没有显示所以我想知道我是否搞砸了。我从 nuget 安装了最新版本 3.1.1 但仍然有错误。

我能做什么?

编辑:

我也在Github上发了个issue:https://github.com/akavache/Akavache/issues/399

您必须安装此版本的 Akavache https://www.nuget.org/packages/akavache/6.0.0-alpha0038

然后还要确保你只安装了 System.Reactive 的 3.1.1 版本,而不是 2.2.5