[Mono-list] TcpChannel import problem

Tom Larsen tomar@apricot.com
Tue, 9 Mar 2004 12:36:23 -0800 (PST)


You need to include the assembly reference at compile time:

% mcs file.cs -r:System.Runtime.Remoting.dll ...

All of the Remoting namespace stuff is in the System.Runtime.Remoting
assembly.  The compiler rightly complains because you did not
specify where to find it to the compiler.

Tom Larsen

On Tue, 9 Mar 2004 Julian_Sitkewich@chasecredit.com wrote:

> I can successfully import System.Runtime.Remoting.Channels namespace, but I
> can't seem to get at the TcpChannel class 'using
> System.Runtime.Remoting.Channels.Tcp;'. The error I receive from mcs is:
>
> Daemon.cs(15) error CS0246: The namespace
> `System.Runtime.Remoting.Channels.Tcp' can not be found (missing assembly
> reference?)
>
> I am running the .30.1 release; I imagine this may have to do with the mono
> library organization, or some lib I may not be importing.
>
> Thanks,
>
> Julian
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>