[Mono-list] Help about running Mono

Guenther Roith groith@tcrz.net
Tue, 17 Dec 2002 15:32:31 +0100


> I would like to run my .NET program with Mono, but when I compile the
> sources, I get errors like this: "error CS0246: Cannot find type
> `IDbTransaction'", but 'IDbTransaction' is present in
> '\mono-0.17\source\mcs-0.17\class\System.Data'. Can you help me?


Have to referenced the System.Data assembly?
Mono needs this, even for Mono assemblies, because it has no global assembly
cache at the moment. So type: mcs -r System.Data.dll something.cs

Johannes