[Mono-list] GAC and gmcs problem

k1Ll5w1tcH garriths at gmail.com
Tue Jan 27 15:08:12 EST 2009




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 at 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

-- 
View this message in context: http://www.nabble.com/GAC-and-gmcs-problem-tp21680970p21693347.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list