1 parent a3d2d40 commit fc6b020Copy full SHA for fc6b020
1 file changed
clr_loader/ffi/__init__.py
@@ -30,10 +30,11 @@ def load_hostfxr(dotnet_root: Path):
30
except Exception as err: # noqa
31
error_report.append(f"Path {hostfxr_path} gave the following error:\n{err}")
32
33
+ direct_path = dotnet_root / hostfxr_name
34
try:
- return ffi.dlopen(str(dotnet_root / hostfxr_name))
35
+ return ffi.dlopen(str(direct_path))
36
- error_report.append(f"Path {hostfxr_path} gave the following error:\n{err}")
37
+ error_report.append(f"Path {direct_path} gave the following error:\n{err}")
38
39
raise RuntimeError(
40
f"Could not find a suitable hostfxr library in {dotnet_root}. The following paths were scanned:\n\n"
0 commit comments