Repository navigation
Switch from AssemblyLoadContext.InitializeDefaultContext to AssemblyLoadContext.Resolving event - #1029
Merged
Andy Jordan (andyleejordan) merged 2 commits intoMay 24, 2016
Conversation
…oadContext.Resolving event AssemblyLoadContext.InitializeDefaultContext was removed for .NET Core 1.0 RTM. Replaced its use with AssemblyLoadContext.Resolving event.
PowerShellAssemblyLoadContext does not inherit from AssemblyLoadContext. Rename it to avoid confusion.
Member
Author
|
Jan Kotas (@jkotas) I added you to the team with write access so next time you can push directly here and I don't have to migrate the branch. Such is life with private repos! |
| { | ||
| AssemblyLoadContext.InitializeDefaultContext(psAsmLoadContext); | ||
| } | ||
| catch (System.InvalidOperationException) |
Member
Author
|
This looks good to me! |
Member
Author
|
/cc Dongbo Wang (@daxian-dbw) you'll want these changes too. |
Andy Jordan (andyleejordan)
deleted the
andschwa/initialze-default-context
branch
May 24, 2016 19:18
Thatgfsj (Thatgfsj)
pushed a commit
to Thatgfsj-contribs/PowerShell
that referenced
this pull request
Aug 6, 2026
…-default-context Switch from AssemblyLoadContext.InitializeDefaultContext to AssemblyLoadContext.Resolving event
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This replaces #1019 to resolve #1016. The original PR was made from a fork, which due to authentication problems, can't pass CI (see #1028).
Thanks for your work Jan Kotas (@jkotas)!
This change is