Visitar URL original
Update DynamicAssembly usage to honor different AssemblyLoadContext's by BertanAygun · Pull Request #2183 · MessagePack-CSharp/MessagePack-CSharp · GitHub
Skip to content

Update DynamicAssembly usage to honor different AssemblyLoadContext's - #2183

Merged
AArnott merged 2 commits into
MessagePack-CSharp:v2.xfrom
BertanAygun:bertan/issue1952v2
Apr 10, 2025
Merged

AArnott merged 2 commits into
MessagePack-CSharp:v2.xfrom
BertanAygun:bertan/issue1952v2

Conversation

@BertanAygun

Copy link
Copy Markdown
Contributor

Cherry picking #1978 to v2.x branch with additional tests around generic handling.

This change resolves issue #1952 where dynamic resolvers did not work where same assembly in different locations was loaded in different AssemblyLoadContext's.

DynamicAssembly creation now happens per unique AssemblyLoadContext so that types are recognized correctly.

…sue1952

Update DynamicAssembly usage to honor different AssemblyLoadContext's
@AArnott AArnott added this to the v2.5 milestone Apr 10, 2025
@AArnott
AArnott merged commit 0b9d9a4 into MessagePack-CSharp:v2.x Apr 10, 2025
This was referenced Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants