Closed RMcD closed 1 year ago
Hi @RMcD and thanks for using FusionCache. Will check and let you know.
I can confirm the same problem, and I think I know what is happening here: to be sure though, I have to summon MemoryPack's creator.
I created an issue there, let's see what @neuecc will say.
Hi @RMcD , an update on this: my guess was in fact correct, and you can see the details of the discussion in the issue I linked.
Long story short: I don't know what will happen regarding MemoryPack itself, if it will make some changes to have a more standard experience regarding transitive .NET version dependencies or not. In the meantime though, I tried a different approach for my library (thanks to some suggestions from its author, which is super kind and helpful 🙏) and after some tweaks I made it to work well, and all the 300+ tests are now passing. So now I'm preparing a new version which should fix this specific issue: I will release it soon, but I don't know if I will be able to do it today or later. Will update you.
Oh, and thanks for your tip, which started the conversation!
FYI: I just pushed the new branch
Hi @RMcD , just wanted to update you: the code has been updated and it's now working correctly also on .NET 7, and thanks to some back & forth with MemoryPack author it's now in perfect shape.
I'll release a new version very soon.
Hi @RMcD , the new v0.18.0 has been released 🎉
It includes the needed changes, too.
Please let me know if everything is fine.
Describe the bug Trying to instantiate the FusionCacheCysharpMemoryPackSerializer on .NET7 throws a runtime exception.
To Reproduce Here's a MRE (Minimal Reproducible Example) of the issue:
LinqPad
Expected behavior The serializer should instantiate the object like it does on .NET6/netstandard2.1
Versions I've encountered this issue on:
Additional context Add any other context about the problem here.