Class XYZ not found

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

Class XYZ not found

Postby Gaulomatic » October 13th, 2012, 5:12 am

Hi,

after some hours I've got Phalanger (nearly) working on Ubunto 12.04 LTS running Mono 2.10.8.1 via mono-server4. Invocation of PHP methods works fine, but creating an instance of a .NET class (e.g. System.Net:WebClient from the samples) throws the error "Class 'System\Net\WebClient' not found.".

Many thanks,
Tobias
Gaulomatic
 
Posts: 1
Joined: October 13th, 2012, 5:05 am

Re: Class XYZ not found

Postby Jakub Misek » October 13th, 2012, 9:40 am

This class is defined in System.dll. You have to add this assembly into <classLibrary> configuration section.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 20 guests

cron

User Control Panel

Login

Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 20 guests