Skip to content

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

Merged
AArnott merged 3 commits into
Cysharp:developfrom
BertanAygun:bertan/issue1952
Oct 2, 2024
Merged

AArnott merged 3 commits into
Cysharp:developfrom
BertanAygun:bertan/issue1952

Conversation

@BertanAygun

Copy link
Copy Markdown
Contributor

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.

@AArnott AArnott left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@AArnott AArnott added this to the v3.0 milestone Oct 2, 2024
@AArnott
AArnott enabled auto-merge October 2, 2024 01:49
@AArnott
AArnott merged commit 6e8f912 into Cysharp:develop Oct 2, 2024
BertanAygun pushed a commit to BertanAygun/MessagePack-CSharp that referenced this pull request Apr 9, 2025
Update DynamicAssembly usage to honor different AssemblyLoadContext's
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