pmed / v8-nuget

NuGet package for V8 JavaScript Engine
93 stars 27 forks source link

No-Snapshot and missing blob files related errors #15

Closed sigmasoldi3r closed 5 years ago

sigmasoldi3r commented 5 years ago

Everything works fine at compile time, but there are two scenarios that require some tweaking in the project created:

No snapshot option

There could be an option/way to disable the snapshot use.

Snapshot option

If using snapshot (Which is by default), you have to move the working directory of the project, which is the project's one.

Any idea if this can be fixed out of the box without having to modify the solution debug options?

~Regards

pmed commented 5 years ago

GN options are placed at the beginning of build.py, so you could change them there and build v8 without snapshot.

It's also possible to put the snapshot and native blobs in another place, and to call v8::InitializeExternalStartupData() at your program startup.