To check if everything is correct: exact version required is specified in a manifest file automatically included inside the DLL. You can extract it using MT.exe (from the Windows SDK):
Visual Stdio 2010+ is more flexible about where it finds its DLLs (http://mariusbancila.ro/blog/2010/03/24/visual-studio-2010-changes-for-vc-part-5/) so you need not worry about the manifest, but you should still redistribute the runtime library because the user may not have it.
Building from Source
You will need python 2.6+ in PATH
git clone --recursivethis repo. You will need depot_tools (specified as submodule) to get V8.
run get_v8.bat to fetch required version of V8 and its build dependencies.
Ignore warnings like
You will need to specify:
Visual Studio version to build with: 2010, 2012, 2013.
MSVC++ version to use. 2010, 2012, 2013.
.NET Framework. 4.0, 4.5, 4.5.1.
Architecture. 32 or 64 bits
Release or Debug mode
Note: if you are using eg. VS2013 and specified MSVC++2010, you will need VS2010 to be installed. (TODO: build with Windows SDK?) Related links:
Visual Studio may download nunit for you.
There may be a better way to do this, but all I've been able to figure out for running it is something like:
or (x64 in VS2012)
You can change revision of V8 in get_v8.bat or with git in subdirectory
You can read about changes to the v8 API at https://docs.google.com/a/g7.org/document/d/1g8JFi8T_oAE_7uAri7Njtig7fKaPDfotU6huOa1alds/edit
buildv8.bat turns off internationalization when invoking gyp to avoid the need to distribute the (large) ICU DLLs and data file.
See Issues on GitHub.
Using .NET 4.5.2
You will need the .NET 4.5.2 Developer Pack to build using .NET 4.5.2