alastairtree / LazyCache

An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
https://nuget.org/packages/LazyCache
MIT License
1.72k stars 159 forks source link

Fixes #71 - core 2.1 LTS #76

Closed RubberChickenParadise closed 4 years ago

RubberChickenParadise commented 5 years ago

Updated version reference of Microsoft.Extensions.Caching.Memory to 2.1.2 to match Microsoft.AspNetCore.App 2.1 version restrictions Added additional web sample project targeting .net core 2.1 (Long Term Support version) Removed unnecessary package references because of dependent packages Ensured that an exe referencing Microsoft.Extensions.Caching.Memory --version 2.2.0 will execute correctly Executed unit tests to ensure passing

netmajor commented 5 years ago

@alastairtree Could you already merge this PR? This is blocker for a lot of people ...

alastairtree commented 4 years ago

Thank you for this - your fix was correct to downgrade to the 2.1 framework dependencies. I have applied the fix and added some automated test coverage to ensure LazyCache supports 2.1/2.2/3.0/3.1 on another branch so will close this and merge that instead. New nuget coming shortly.

Thank you!