Skip to content

Isolate loaded assemblies inside an AssemblyLoadContext #2599

Open
@rmanthorpe

Description

@rmanthorpe

When loading a .NET Framework runtime a new AppDomain is created and everything is loaded into that AppDomain. However, when using Core CLR this isn't possible and everything is loaded into the single AppDomain. Could we instead create a new AssemblyLoadContext and load all referenced assemblies into this in order to give some level of isolation between PythonNET and anything else that might be using .NET within the same process?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions