Clearscript: Support for MacOS and Linux

Created on 5 Jan 2020  路  2Comments  路  Source: microsoft/ClearScript

I've just tried the ClearScipt on my MacOS with .NET Core 3.1 and found out after receiving the following exception, that only Windows OS is currently supported.

Exception:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'kernel32' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libkernel32, 1): image not found

Are there any plans to add support for MacOS and/or Linux in the near future?

question

All 2 comments

Hi @woigl,

ClearScript uses mixed assemblies to bridge .NET with V8. Unfortunately such assemblies are supported only on Windows.

It would be possible to reimplement ClearScript's V8 interface without mixed assemblies, but that would be a large project.

Of course, if support for mixed assemblies ever came to non-Windows platforms, or if relevant code conversion tools became available, then we'd definitely look into it. To that end we're monitoring this .NET Core issue.

Cheers!

Hi @ClearScriptLib,

thanks for the clarification.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

roblarky picture roblarky  路  3Comments

JohnLudlow picture JohnLudlow  路  4Comments

bhaeussermann picture bhaeussermann  路  6Comments

kugarliyifan picture kugarliyifan  路  6Comments

JohnLudlow picture JohnLudlow  路  4Comments