Closed DareDevilDenis closed 2 years ago
The following code works with clr-loader 0.1.7
from clr_loader import get_coreclr runtime = get_coreclr('MyApplication.runtimeconfig.json') print('Success')
With clr-loader 0.2.3 it throws exception:
TypeError: get_coreclr() takes 0 positional arguments but 1 was given
This is intentional: https://github.com/pythonnet/pythonnet/discussions/1837#discussioncomment-3706092
Ok, thanks for the quick response
The following code works with clr-loader 0.1.7
With clr-loader 0.2.3 it throws exception:
TypeError: get_coreclr() takes 0 positional arguments but 1 was given