← Winnitude! Search  ·  Reader Mode (1193 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 6 LINKS

Isolate loaded assemblies inside an AssemblyLoadContext · Issue #2599 · pythonnet/pythonnet

Repository navigation

Isolate loaded assemblies inside an AssemblyLoadContext  #2599


New issue

New issue

Open

Open
Isolate loaded assemblies inside an AssemblyLoadContext #2599

Description

@rmanthorpe's profile rmanthorpe opened on Jun 16, 2025

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