k1Ll5w1tcH wrote: > > > Sandy Armstrong wrote: >> On 01/27/2009 12:00 AM, k1Ll5w1tcH wrote: >>> Hi >>> >>> Forgive me if this has been asked before... >>> >>> When compiling in mono 2.2 I get the following error: >>> error CS0234: The type or namespace name `Data' does not exist in the >>> namespace `System'. Are you missing an assembly reference? >>> >>> I've checked the GAC and the assembly is present. >>> System.Data, Version=2.0.0.0, Culture=neutral, >>> PublicKeyToken=b77a5c561934e089 >> Are you compiling with -r:System.Data ? You may need to read the man >> page to learn how to use the compiler correctly. It is very similar to >> csc on Windows. >> >> Sandy >> _______________________________________________ >> Mono-list maillist - Mono-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > > > I'm currently not compiling with -r: > > When I compile with -r:System.Data.dll it seems like compilation is > successful, but when I execute I get the following: > cannot execute binary file >
How are you executing? You have to use the syntax "mono MyBinary.exe". Regards, Andrés -- _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list