[Mono-list] library

André Roßbach a.rossbach@humanscan.de
Tue, 15 Jul 2003 17:35:06 +0200


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

I´m not sure, try
	mcs /r:System.Runtime.Remoting.dll /t:library routeserver.cs

And perhaps your library path with:
	/L /cygdrive/c/mono/lib


André.





-- 
André Roßbach