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

Feat : R25 Support Unload Assembly #54

Merged
merged 8 commits into from
May 12, 2024
Merged

Feat : R25 Support Unload Assembly #54

merged 8 commits into from
May 12, 2024

Conversation

chuongmep
Copy link
Owner

@chuongmep chuongmep commented Apr 18, 2024

Purpose

  • Allow Unload Assembly Without Copy Folder
  • Resolve problem support update and track modify dependencies.

Description

#47 #
New Process :
System.Runtime.Loader.AssemblyLoadContext
• With .NET Core, there is only a single AppDomain
• In .NET Core 3, Contexts were introduced to replace AppDomains
• They are not a security boundary
• Load contexts are named, there is no "Current" as it was for AppDomains
• Almost zero-cost in accessing code in a different context
Main use cases:
• Ability to unload addons/plugins from the AppDomain
• Controlling the resolution (probing) of addons assemblies and native dlls
• Isolating and using different versions of the same addons

image

Preview How Proces Changed :
POWERPNT_QNmMMVhEVN

Declarations

Check these if you believe they are true

  • This PR fix bug
  • This PR for new feature
  • The codebase is in a better state after this PR
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • Snapshot of UI changes, if any.
  • This PR modifies some build requirements and the readme is updated

Reviewers

(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)

(FILL ME IN, optional) Any additional notes to reviewers or testers.

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

@jmcouffin jmcouffin mentioned this pull request Apr 18, 2024
6 tasks
@chuongmep chuongmep merged commit 2d8366b into dev May 12, 2024
1 check failed
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