diff --git a/Espresso.sln b/Espresso.sln index 79da7f57..0f15e340 100644 --- a/Espresso.sln +++ b/Espresso.sln @@ -43,6 +43,8 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NodeJsEngineHelper", "Tests EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestNode01_NetworkClients", "Tests\TestNode01_NetworkClients\TestNode01_NetworkClients.csproj", "{3D1E03EB-863D-4B02-9021-C69805C73F7C}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libespr", "libespresso\libespresso.vcxproj", "{880EF82B-4FAD-42B1-98A6-09B5835F5FE6}" +EndProject Global GlobalSection(SharedMSBuildProjectFiles) = preSolution Tests\NodeJsEngineHelper\NodeJsEngineHelper.projitems*{25c800d8-d92c-4ee9-9512-3fe928e2b6c4}*SharedItemsImports = 13 @@ -346,6 +348,24 @@ Global {3D1E03EB-863D-4B02-9021-C69805C73F7C}.Release|x64.Build.0 = Release|Any CPU {3D1E03EB-863D-4B02-9021-C69805C73F7C}.Release|x86.ActiveCfg = Release|Any CPU {3D1E03EB-863D-4B02-9021-C69805C73F7C}.Release|x86.Build.0 = Release|Any CPU + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|Win32.ActiveCfg = Debug|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|Win32.Build.0 = Debug|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|x64.ActiveCfg = Debug|x64 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|x64.Build.0 = Debug|x64 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|x86.ActiveCfg = Debug|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Debug|x86.Build.0 = Debug|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|Any CPU.ActiveCfg = Release|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|Mixed Platforms.Build.0 = Release|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|Win32.ActiveCfg = Release|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|Win32.Build.0 = Release|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|x64.ActiveCfg = Release|x64 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|x64.Build.0 = Release|x64 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|x86.ActiveCfg = Release|Win32 + {880EF82B-4FAD-42B1-98A6-09B5835F5FE6}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/README.md b/README.md index df9c01a3..61739bb1 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ +Espresso Modified by John Chen +=============== +Modified to build with the latest version of Nuget-V8 (7.4.288.11). NodeJS support dropped. + +License: +MIT, 2013, Federico Di Gregorio fog@initd.org, https://github.com/fogzot/vroomjs + +MIT, 2015-2019, WinterDev + +MIT, 2019, John Chen + Espresso / Espresso-VE / Espresso-ND =============== diff --git a/build/Net20/EspressoCore/0_Start/JsBridgeForNet20.cs b/build/Net20/EspressoCore/0_Start/JsBridgeForNet20.cs index 3c7e20ff..39d8d847 100644 --- a/build/Net20/EspressoCore/0_Start/JsBridgeForNet20.cs +++ b/build/Net20/EspressoCore/0_Start/JsBridgeForNet20.cs @@ -1,5 +1,6 @@ //MIT, 2015-present, WinterDev, EngineKit, brezza92 using System; +using System.IO; using System.Runtime.InteropServices; namespace Espresso { @@ -19,7 +20,7 @@ public static void LoadV8(string dllfile, bool doV8Init = true) if (doV8Init) { //sometime we set to false , and let underlying lib init the v8 engine. - NativeV8JsInterOp.V8Init(); + NativeV8JsInterOp.V8Init(Path.GetDirectoryName(dllfile)); } } diff --git a/build/Net20/EspressoCore/EspressoCore.csproj b/build/Net20/EspressoCore/EspressoCore.csproj index 9a017eab..1a61c35c 100644 --- a/build/Net20/EspressoCore/EspressoCore.csproj +++ b/build/Net20/EspressoCore/EspressoCore.csproj @@ -9,8 +9,9 @@ Properties EspressoCore EspressoCore - v2.0 + v4.6.2 512 + true @@ -21,7 +22,8 @@ prompt 4 true - AnyCPU + x64 + false pdbonly @@ -31,6 +33,7 @@ prompt 4 true + false true @@ -41,6 +44,7 @@ x86 prompt MinimumRecommendedRules.ruleset + false bin\x86\Release\ @@ -51,6 +55,7 @@ x86 prompt MinimumRecommendedRules.ruleset + false diff --git a/build/Net20/SandBox2/SandBox2.csproj b/build/Net20/SandBox2/SandBox2.csproj index 540859c0..a25d0191 100644 --- a/build/Net20/SandBox2/SandBox2.csproj +++ b/build/Net20/SandBox2/SandBox2.csproj @@ -1,5 +1,5 @@  - + Debug x86 @@ -10,11 +10,12 @@ Properties SandBox2 SandBox2 - v2.0 + v4.6.2 512 + - x86 + x64 true full false @@ -22,6 +23,7 @@ DEBUG;TRACE prompt 4 + false x86 @@ -31,6 +33,7 @@ TRACE prompt 4 + false @@ -50,6 +53,9 @@ EspressoCore + + +