This project has moved and is read-only. For the latest updates, please go here.

Cannot add v8-ia32.dll, v8-x64.dll as references in Visual Studio

Jun 26, 2014 at 3:30 PM
Hi, there.

I tried adding v8-ia32.dll, v8-x64.add as references in Visual Studio.
However I got the error: "Please make sure that the file is accessible, and that is is a valid assembly or COM component."

How do I use V8ScriptEngine?

My operations was as follows:
  1. Downloaded ClearScript-5.3.11
  2. Executed V8Update.cmd on Visual Studio developer command line.
  3. Opened the solution file 'ClearScript.sln'
  4. Built the solution (Release mode).
  5. Created new WPF project.
  6. Added v8-ia32.dll, v8-x64.dll as references to the new project.
  7. I encountered the above problem.
My environment is as follows:
ClearScript: 5.3.11
Visual Studio: 2013
OS: Windows 7 (64bit)
Jun 26, 2014 at 4:00 PM
Hi knhr,

You should only add a project reference to the main ClearScript assembly, ClearScript.dll.

If you wish to use ClearScript's V8 support, you must also copy the V8 assemblies (ClearScriptV8-32.dll, ClearScriptV8-64.dll, v8-ia32.dll, and v8-x64.dll) to your application's directory, but referencing them from your project is unnecessary.

Please see the ClearScript ReadMe for more information about integrating and deploying ClearScript with your application.

Jun 26, 2014 at 4:12 PM
Thanks for your prompt reply.
It works :D

I didn't notice that V8 assemblies needs only copying to application's directory (,not adding to a project as references).
I'm sorry for lacking concentration.