-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't instantiate MemoryPack serializer on NET7 #93
Comments
Hi @RMcD and thanks for using FusionCache. |
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. 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. |
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.
The text was updated successfully, but these errors were encountered: