Cant get c# assembly to work in PHP

Discussion about the open-source Phalanger [?] project.

Cant get c# assembly to work in PHP

Postby blackraven36 » July 27th, 2012, 2:26 am

I am having a problem where I cannot get the c# code to show up or even be usable while using Phalanger. By their definition, all I have to do is add

<add assembly="Utility">

which happens succesfully because if I change the name slightly, the page crashes, so I know its actually picked up on the library. However when I try

<?php
use Utility\...; //new version of phalanger uses "use" not import
?>

I get nothing. Not only does it not show up in the intellisense but when I actually try to call a function which belongs to it, it does not show up either.

Any idea on what might help me here? I have namespaced the DLL which seems to be a requirement. Other than that, I am not sure what else I could do... Any help is greatly appreciated!
blackraven36
 
Posts: 13
Joined: July 27th, 2012, 2:24 am

Re: Cant get c# assembly to work in PHP

Postby blackraven36 » July 27th, 2012, 3:19 am

Ok, I got it to work inside the PHP :D. However, I cannot get intellisense to recognize it for some reason... just not showing up on the radar!
blackraven36
 
Posts: 13
Joined: July 27th, 2012, 2:24 am


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 61 guests

cron

User Control Panel

Login

Who is online

In total there are 61 users online :: 0 registered, 0 hidden and 61 guests (based on users active over the past 5 minutes)
Most users ever online was 431 on April 25th, 2024, 1:28 am

Users browsing this forum: No registered users and 61 guests