Unhandled Exception: JavaScriptEngineSwitcher.Core.JsEngineLoadException: During loading of VroomJsEngine error has occurred. See more details: v8.dll


Unhandled Exception: JavaScriptEngineSwitcher.Core.JsEngineLoadException: During loading of VroomJsEngine error has occurred.
See more details:

Couldn't load native assembly at C:\Users\Administrator\AppData\Local\Temp\2\VroomJs\x64\v8.dll ---> System.Exception: Couldn't load native assembly at C:\Users\Administrator\AppData\Local\Temp\2\VroomJs\x64\v8.dll
at VroomJs.AssemblyLoader.LoadDll(String dllName, String architecture)
at VroomJs.AssemblyLoader.EnsureLoaded()
at JavaScriptEngineSwitcher.Vroom.VroomJsEngine.Initialize()
--- End of inner exception stack trace ---
at JavaScriptEngineSwitcher.Vroom.VroomJsEngine.Initialize()
at JavaScriptEngineSwitcher.Vroom.VroomJsEngine..ctor(VroomSettings settings)

 

 

原因,.net core 和v8 一个调用 的vs2012运行库,一个调用 vs2015运行库.

  需要安装 vs2012运行库和vs2015f运行库 x86,x64 取决于实际运行版本.

,下载地址

https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30679

 

JavaScriptEngineSwitcher.Vroom contains adapter `VroomJsEngine` (wrapper for the VroomJs (http://github.com/pauldotknopf/vroomjs-core) version 1.2.3 with support of V8 version 3.17.16.2).

For correct working of the VroomJs on Windows require the Visual C++ Redistributable for Visual Studio 2012 and Microsoft Visual C++ 2015 Redistributable.

posted @ 2019-12-18 14:33  bleach3  阅读(662)  评论(0编辑  收藏  举报