Skip to content
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

Use assembly loading context to isolate loaded assemblies from AppDomain #714 #715

Conversation

boylec
Copy link

@boylec boylec commented Jun 14, 2024

See issue #714

I was running into issues running Mapster.Tool against projects with .NET 9 preview assemblies references (either directly or transitively from other dependencies.)

After sleuthing through dotnet/runtime CLR code I ran into this issue which seemed pertinent:

dotnet/runtime#102981

This PR is based off of recommendations by @jkotas there about how to load assemblies in an isolated way. It appears to have solved my issue with Mapster.Tool 8.4.1-pre01 mentioned.

@boylec boylec changed the base branch from master to development June 14, 2024 20:13
@boylec boylec force-pushed the fix/isolated-assemblies branch 3 times, most recently from 095a70c to 1961db5 Compare June 14, 2024 20:28
@boylec boylec force-pushed the fix/isolated-assemblies branch from 1961db5 to 6e106c3 Compare June 14, 2024 20:32
@boylec boylec closed this Jun 14, 2024
@boylec
Copy link
Author

boylec commented Jun 14, 2024

need to work on this a bit more

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.

1 participant