1

I am trying to create an instance of V8ScriptEngine but am getting an exception as below:

using Microsoft.ClearScript.V8;
V8ScriptEngine engine = new V8ScriptEngine();

Exception: "Could not load type 'System.Runtime.InteropServices.Expando.IExpando' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."

What am I missing? This is ClearScript version 5.4

jmrk
  • 34,271
  • 7
  • 59
  • 74
pnizzle
  • 6,243
  • 4
  • 52
  • 81

1 Answers1

2

For .NET Core support, you need ClearScript 6.0 (or higher).

BitCortex
  • 3,328
  • 1
  • 15
  • 19