[Mono-list] is System.Net missing?

Arx Henrique arxcruz at gmail.com
Mon Nov 21 13:32:00 EST 2005


I'm using:

using System.Net;
using System;
using System.Sockets;

public class tcp {
      TcpClient client = new TcpClient();
      ......
}

and try compile with mcs file.cs but show up the message saying that
could not found System.Net

did you know what's library i need add to my project to work ?

On 11/21/05, Atsushi Eno <atsushi at ximian.com> wrote:
> Hi,
>
> > I try to use System.Net in my application, but when i try to compile,
> > i get a error saying that could not found System.Net in namespace. I
> > try to use -r:System.Net but dont works too.
>
> -r option is to specify an *assembly*, not a *namespace*. Unless there
> is
> System.Net.dll (it actually isn't) mcs reports an error (I don't think
> mcs reports something like "could not found System.Net in *namespace*").
>
> You don't have to specify -r:System.dll or -r:mscorlib.dll (unless you
> use
> -noconfig and/or -nostdlib).
>
> Atsushi Eno
>
>
>


--
"A fé remove montanas, mas eu prefiro a dinamite"


More information about the Mono-list mailing list