Skip to content

Loading Framework and Core based library at the same time #2312

@kalpeshdlad

Description

@kalpeshdlad

Environment

  • Pythonnet version: 3.0.3
  • Python version: 3.9.5
  • Operating System: Windows
  • .NET Runtime: 5

I have few library/module created in .NETFramework which I am using in python by loading via pythonnet. This is working fine so far after loading with clr from module.

I have a requirement to upgrade all libraries to latest core base due to increased performance and improvements. At the same time I need to ensure backward compatibility. Given this scenario, I learned that I can load either .NETFramework on Core at a time in a python via pythonnet.

Due to this constraint, I am wandering is there any way I can load both Core and Framework based library at the same time from 64 bot based python.
In worst case I can consider doing a communication on RPC channel either on Core or Framework based library.
Please help me to resolve this problem. or is there any other alternative I can try.

Thanks in advance.

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