[Mono-list] GAC and gmcs problem
"Andrés G. Aragoneses"
knocte at gmail.com
Tue Jan 27 17:10:32 EST 2009
> Sandy Armstrong wrote:
>> On 01/27/2009 12:00 AM, k1Ll5w1tcH wrote:
>>> 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=220.127.116.11, Culture=neutral,
>> 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.
>> Mono-list maillist - Mono-list at lists.ximian.com
> 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".
More information about the Mono-list