Hi Uwe,
Here is what you can do with the current Beta 4 to implement missing .NET Mscorlib features:
1) Modify your ".CSPROJ" file and add the following line:
Code: Select all
<IgnoreUnsupportedMethodsErrors>True</IgnoreUnsupportedMethodsErrors>
This will stop the compiler from complaining about non-implemented methods. instead, you will receive errors during runtime about non-implemented methods.
2) Go to the folder "C:\Program Files (x86)\MSBuild\CSharpXamlForHtml5\InternalStuff\Libraries"
(if this folder does not exist on your computer, go to: "C:\Program Files\MSBuild\CSharpXamlForHtml5\InternalStuff\Libraries")
There you will see a lot of JavaScript files. The files which name starts with "JSIL.Bootstrap.*" are the files that implement the features of Mscorlib. For example, "ArrayList" is implemented in "JSIL.Bootstrap.js". The "Hashtable" class must be implemented there.
Implement the missing functions, and then recompile your project. (Or, if you want to go faster, directly modify the JS files from the "Output/Libraries" folder of your project so that you do not need to recompile your project every time, but remember to backup the changes somewhere else otherwise you may loose your changes when the project is recompiled and the "Output" folder is re-generated).
Please note that implementing new features at the moment is a little difficult because you need to master the aforementioned JavaScript files. In the future we are going to make it easier to add new features, and we will document it better.
Thanks,
Regards,
JS-Support