Cant get c# assembly to work in PHP
2 posts
• Page 1 of 1
Cant get c# assembly to work in PHP
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!
<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
Ok, I got it to work inside the PHP . 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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 61 guests