dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] invalid type specification `UdpClient'


From: Rhys Weatherley
Subject: Re: [Pnet-developers] invalid type specification `UdpClient'
Date: Sat, 24 Jan 2004 08:58:18 +1000
User-agent: KMail/1.4.3

On Saturday 24 January 2004 08:55 am, Jérémie Banier wrote:

> it failed with:
> test.cs:13: invalid type specification `UdpClient'
> test.cs:14: invalid type specification `UdpClient'
> test.cs:14: `int' does not have an accessible constructor
>
> Could somebody tell me, please, what is the magic flag ?

You need to add "-lSystem" to the compiler command-line to import the 
"System.dll" library.  Unlike MS and Mono, we only include "mscorlib.dll" by 
default.  All other libraries must be specified explicitly.

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]