New Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Ok, so even though I used the NuGet Clearscript Installer package, it did not put the following in my root project directory: ClearScriptV8-32.dll ClearScriptV8-64.dll I've got v8update.cmd building...
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Ok, so after deploying and see all 4 dlls in d:\home\site\wwwroot, I'm still getting the same exception up top.
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Also, the files are not in where it seems to be looking for them: D:\Program Files (x86)\SiteExtensions\MobileServicesDotNet\1.0.450\v8-ia32.dll: The specified module could not be found D:\Program...
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Hmm, we can't help with NuGet issues, but so far it's unclear why the site root isn't one of the directories being searched for the V8 assemblies.
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Does the Clearscript.dll look for them one level up? If so, it should work. Is there anything I could try changing in the Clearscript project, recompiling, and then redploy my Azure service?
View ArticleNew Post: Retrieving javascript line index during execution
Is it possible to get currently executing script line number without resorting to the debugger? I would like to highlight certain lines whenever they are being executed. For example:public class Test()...
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Hi again,​ Does the Clearscript.dll look for them one level up? If so, it should work.​ ClearScript searches for the V8 assemblies as follows:In the directory that contains ClearScript.dll. This is...
View ArticleNew Post: Retrieving javascript line index during execution
Hello rovs, The following test runs to completion without script termination or infinite recursion, and the output is exactly as expected:publicclass Test { public ScriptEngine Engine { get; set; }...
View ArticleEdited Issue: Double quote replaced by some other "junk" character [67]
Hi,I am noticing v8Engine.Execute() fails with :_SyntaxError: Unexpected identifier at Script Document xx..xxx.... -> -----------------------_exception.I see that normally one of the Double quotes (...
View ArticleCommented Issue: Double quote replaced by some other "junk" character [67]
Hi,I am noticing v8Engine.Execute() fails with :_SyntaxError: Unexpected identifier at Script Document xx..xxx.... -> -----------------------_exception.I see that normally one of the Double quotes (...
View ArticleUpdated Wiki: Home
Description ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript.FeaturesSimple usage; create a...
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Here's the full exception: Exception=System.TypeLoadException: Cannot load V8 interface assembly. Load failure information for v8-ia32.dll: C:\DWASFiles\Sites\mobile$Service\Temporary ASP.NET...
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
I was able to get it working using your assembly resolve code. Thanks!
View ArticleNew Post: Retrieving javascript line index during execution
Thank you! Turns out the culprit was in some supporting code. Both ScriptEngine.GetStackStrace() and JS method work as expected!
View ArticleNew Post: Azure Mobile Services Cannot Load V8 Interface Assembly
Hi AEONSoft, Glad to hear that you got it working! If you get a chance, we'd still very much like to know what AppDomain.CurrentDomain.BaseDirectory and AppDomain.CurrentDomain.RelativeSearchPath...
View ArticleNew Post: Call known method by name
Per this thread here:https://clearscript.codeplex.com/discussions/467402 I should be able to do ScriptEngine.Script["MyMethod"](arg1, arg2); But I get exception:Cannot apply indexing with [] to an...
View ArticleNew Post: Call known method by name
Hello! The following test code compiles and runs as expected:using (var engine = new V8ScriptEngine()) { engine.Execute("function foo(x) { return x; }"); Console.WriteLine(engine.Script.foo(123)); //...
View ArticleNew Post: Call known method by name
Thanks for the quick response. I am using .Net 4.5.1 I tried your code sample in a console app, and an asp.net app, and it worked great. Apparently my issue is that I am using a VisualWebGui...
View ArticleNew Post: Call known method by name
Hi again, That's very odd. It's as if your environment doesn't support C#'s dynamic keyword properly, or is missing the required runtime infrastructure. Does Visual WebGUI use a custom C# compiler or...
View ArticleNew Post: Call known method by name
I am assuming yes since it translates c# into html elements and javascript, however I am not really able to provide with you anymore details then that. I have asked a question on the VWG forums to...
View Article