I am having trouble getting access to certain .NET libraries. Phalanger promises the ability to tap into all the .NET libraries; however I can't seem to access many. For instance, I cannot do:
$table = new System\Data\DataTable;
which is a standard .NET library. I am not sure why this is happening because their documentation is a bit dry. Any idea what is going on here? Any help is greatly appreciated!
The solution to this is fairly simple. Phalanger will import
according to the documentation. However, if you need any extra libraries which exist in .NET (assuming they are installed), you can do the following:
This will allow your Phalanger based application tap into the library! Make sure to add this into the
block!