- Notifications
You must be signed in to change notification settings - Fork749
Closed as not planned
Description
To import a .NET6 library, my understanding is that the steps in Python.Net 3.0 are:
fromclr_loaderimportget_coreclrfrompythonnetimportset_runtimeruntime=get_coreclr('MyApplication.runtimeconfig.json')set_runtime(runtime)
However, with clr-loader 0.2.3 (released 5 days ago), the call to get_coreclr with one argument fails with exception:TypeError: get_coreclr() takes 0 positional arguments but 1 was given
I've raised this issue in clr-loader:pythonnet/clr-loader#35
However, I was wondering if the change to the get_coreclr() API might be intentional, meaning that the recommended steps to import a .NET6 library has changed. Can anyone please confirm?
Metadata
Metadata
Assignees
Labels
No labels