在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:JavascriptNet/Javascript.Net开源软件地址:https://github.com/JavascriptNet/Javascript.Net开源编程语言:C++ 63.6%开源软件介绍:Example
See our wiki for more information. NugetOld versions have been published as Noesis.JavaScript. Publishing a newer version is a work in progress. RedistributionNoesis.Javascript.dll needs the Microsoft C Runtime Libraries. If you don't include the correct version of the runtime libraries when you redistribute Noesis.Javascript.dll then you will get errors when loading the DLL on some users machines. (Many, but not all users will already have it.) Targets: .NET Framework 4.5 Building from SourceOpen the .sln file in Visual Studio, use Configuration Manager to switch to platform to x64, and build. I've been working using Visual Studio 2017, but 2015 will probably work too. The following warnings are expected:
Also note that when using the DLL built from source, you will need to add a Post Build Step to your consuming project, which copies the v8 DLLs and .bin files into your output directory. See Noesis.Javascript.Tests.csproj for an example, noting that it has some extra sections manually inserted to define Updating v8The log at https://docs.google.com/a/g7.org/document/d/1g8JFi8T_oAE_7uAri7Njtig7fKaPDfotU6huOa1alds/edit may help, if it is still being updated. Running TestsThe unit tests are standard Visual Studio - run them using the GUI. How it WorksSimple values and arrays are copied between the native memory space (where v8 resides) and the Common Language Runtime (CLR) (where .Net applications live). Complex .Net types (delegates, objects) are proxied. When calls are made into proxied types then the parameters are copied into the CLR and the call is executed. The results are copied back. Internationalization??? buildv8.bat turns off internationalization when invoking gyp to avoid the need to distribute the (large) ICU DLLs and data file. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论