[Mono-list] GAC and gmcs problem
garriths at gmail.com
Wed Jan 28 00:16:52 EST 2009
"Andrés G. Aragoneses"-2 wrote:
> k1Ll5w1tcH wrote:
>> 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=18.104.22.168, 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".
> Mono-list maillist - Mono-list at lists.ximian.com
I was executing with ./
But this still doesn't explain why I have to compile with
-r:System.Data.dll, when System.Data is in my GAC?
View this message in context: http://www.nabble.com/GAC-and-gmcs-problem-tp21680970p21700136.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list