Akavache Invalidate

I want to remove an object from akavache as follows

BlobCache.LocalMachine.Invalidate("key");

      

But the compiler got an error warning "The type 'Unit' is defined in an assembly that is not referenced. You must add a reference to the assembly" System.Reactive.Core, Version = 2.2.5.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35 "and this makes me not compile it

I have no idea how to fix this. I am already trying akavache 5.0.0 as well as akavache 4.1.2. I am trying to search for System.Reactive.Core and the minimum version in nuget is 3.0.0

+3


source to share


1 answer


Older reactive packages are not available through the standard graphical user interface. So you need to install old reactive libraries from nuget command line

Install-Package System.Reactive.Core -Version 2.2.5.0

But if you have other libraries that depend on Reactive version 3 that won't work and you're out of luck.



I have a pull request for Akavache that makes Akavache compatible with reactive version 3, which will hopefully be awesome and merged at some point! https://github.com/akavache/Akavache/pull/367

UPDATE 11/3/2017

Akavache latest alpha version is on nuget and supports netstandard / rx3

+2


source







All Articles