[Mono-list] is System.Net missing?

Atsushi Eno atsushi at ximian.com
Mon Nov 21 12:53:18 EST 2005


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




More information about the Mono-list mailing list