Skip to content

Fix AssemblyLoadContext and TPA scenario #839

Closed

Description

Per #814, the current work-around is untenable, and this needs to be fixed correctly.

Activity

  1. modified the milestones: , v0.4.0, v0.5.0 on May 11, 2016
  2. andyleejordan commented on Jun 21, 2016

    @andyleejordan
    MemberAuthor

    dotnet/coreclr#5144 unblocks us moving forward here, as soon as we can update the packages.

    While InitializeDefaultContext was removed, thus spawning #1019, Dongbo Wang (@daxian-dbw) and I believe we can continue with PowerShell's assembly intercept method by creating a custom ALC in the powershell shim project, using that to load ConsoleHost, from which all all assemblies will be loaded. Since the rest of PowerShell's assembiles will be loaded from with that particular ALC, the loading will be intercepted, and .NET Core's changes will allow us to do this regardless of the assemblies being in the TPA (and without having to use the Resolving event).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-BugIssue has been identified as a bug in the product

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions