[Mono-list] library

matterac matterac@libero.it
Wed, 16 Jul 2003 12:50:12 +0200


Hi,
now I'm explicity referencing the DLLs,(thank's to all :-) )
and I can compile my library with /r:System.Data.dll

but not when I write:

mcs /r:System.Runtime.Remoting.dll /r:tableclass.dll /t:library routeserver.cs
routeserver.cs(21) error CS0246: Cannot find type `TcpServerChannel'
Compilation failed: 1 error(s), 0 warnings

I want to use /r:System.Runtime.Remoting.Channels.Tcp.dll  like .NET

but I haven't got this library, Exists? How can I obtain that?
Thank's a lot



>You might want to try explicitly referencing the DLLs which contain the 
>types you need.

>e.g.
>mcs /t:library /r:system.data.dll /r:system.dll tableclass.cs



matterac wrote:

>Hi,
>I've installed Mono on cygwin and now I'm trying to run some simple application I've made under .NET, some run without problem but other can't run and can't compile, 
>
>this is a problem:
>
>$ ./mcs /t:library tableclass.cs
>tableclass.cs(26) error CS0246: Cannot find type `DataTable'
>Compilation failed: 1 error(s), 0 warnings
>
>and in other application 
>
>routeserver.cs(21) error CS0246: Cannot find type `TcpServerChannel'
>Compilation failed: 1 error(s), 0 warnings
>
>
>serversip.cs(43) error CS0246: Cannot find type `TcpClientChannel'
>Compilation failed: 1 error(s), 0 warnings
>
>I use System.Data & System.Runtime.Remoting.Channel.Tcp
>
>and I find them in mono library
>
>How can I do?
>Regards
> 
>