New Post: Enable Experimental JavaScript
Hello! You'd have to make a small source code change and rebuild ClearScript. For example, adding the following lines at the top of the V8IsolateImpl constructor should enable JavaScript proxies:...
View ArticleNew Post: Does ClearScript have memory leak?
Hi JerryBian, We looked at your code and ran some tests; here's what we found.​You're using an old ClearScript version. Several issues related to memory usage have been fixed recently.​There doesn't...
View ArticleNew Post: How C#-Js binding is implemented?
Hello, First of all let me tell you that it's a great project. I'm playing now with the Chromium Embedded Framework to create an application that contains both C# and HTML+JS code. I want to implement...
View ArticleNew Post: How C#-Js binding is implemented?
Hello Balazs, Thanks for your kind words! Unfortunately there's no detailed documentation beyond the code itself. ClearScript's V8 binding consists of several layers. The best way to understand it is...
View ArticleNew Post: How to use System.Linq.Expressions.Expression ...
How can I do something like this using clearscript .... at runtime i only know what T will be ... not during compile time ...public virtual List<T>...
View ArticleNew Post: How to use System.Linq.Expressions.Expression ...
Hello iwcoetzer, Please clarify. What do you mean by "do something like this using ClearScript"? Do you need to call this method from script code? If so, how are you defining the predicate? Thanks!
View ArticleNew Post: Visual Studio 2013 cannot load assembly...
Hello, I can't find any help for this error. I installed ClearScript from the NuGet Package Manager console using Install-Package ClearScript. I see messages informing me 'ClearScript 5.3.11.0'...
View ArticleNew Post: Visual Studio 2013 cannot load assembly...
Greetings! It looks like you're using this NuGet package. Generally, as we don't release ClearScript binaries, we recommend that NuGet package issues be reported to the package owners. That said, we...
View ArticleNew Post: Visual Studio 2013 cannot load assembly...
Thanks for the quick reply! I decided to delete everything and then use the zip download from here to build my ClearScript assembly using the Non-V8 solution. I'm still receiving the same exception:...
View ArticleNew Post: Visual Studio 2013 cannot load assembly...
Hi again! Thanks for sharing your solution. The problem seems to be that your solution includes a class library project that generates "ClearScript.dll", which conflicts with the ClearScript assembly...
View ArticleNew Post: Visual Studio 2013 cannot load assembly...
I am so sorry to waste your time. That is such a rookie mistake, I almost feel shame :). It would help if .NET gave a more descript error. Sometimes you just need that extra perspective.
View ArticleNew Post: Using List and Linq withing javascript
Hello, I am wondering if we are allowed to used linq functions like List.Exists within javascript. Currently, I have this line if (child.Name == "tr" && accountList.Exists(p => p ==...
View ArticleNew Post: Build bug found for Visual Studio 2010
FYI- So far, there doesn't seem to be any issues.
View ArticleNew Post: Visual Studio 2013 cannot load assembly...
No worries! Actually, we really should adopt the common convention of using the base namespace name for the assembly name; e.g., "Microsoft.ClearScript.dll". That would have prevented your issue as...
View ArticleNew Post: Using List and Linq withing javascript
Hello! The method you're trying to call from script code is declared like this:publicbool Exists(Predicate<T> match)Because you're dealing with a string list, it requires an argument of type...
View ArticleUpdated Wiki: Announcements
10/22/2014: ClearScript 5.4 released. View the release notes and download the source code here. 1/16/2014: Version 5.3.11 released. View the release notes and download the source code here. 11/28/2013:...
View ArticleUpdated Wiki: Home
ClearScript 5.4 released. More...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...
View ArticleEdited Feature: COM object projection [38]
Script code currently cannot invoke COM interface methods on exposed RCWs. This is an issue because the OS includes many useful COM objects. Besides, if it implements IDispatch, it should be...
View ArticleCommented Feature: COM object projection [38]
Script code currently cannot invoke COM interface methods on exposed RCWs. This is an issue because the OS includes many useful COM objects. Besides, if it implements IDispatch, it should be...
View ArticleEdited Issue: Fatal error in heap setup, Allocation failed - process out of...
Hi, While investigating some memory related issues in my application, I managed to reproduce what seems to be a problem. The following minimal application terminates on my PC after ~50 cycles and...
View Article