[Mono-list] Converting Windows C# socket client to Debian

Alf C Stockton alf at stockton.co.za
Tue Sep 9 14:52:53 UTC 2014


I have tried
mcs csharp-client-socket.cs
mcs /reference:System.Drawing.dll /reference:System.Windows.Forms
csharp-client-socket.cs
and
mcs /reference:System.Drawing.dll /reference:System.Windows.Forms
/reference:itextsharp.dll csharp-client-socket.cs
all with different errors.
> On 09/09/14 15:30, Alf C Stockton wrote:
>> I have the need to convert the attached code to Debian Wheezy
>> 3.2.60-1+deb7u3.
>> I am attempting to compile with mono version 2.10.8.1 but I get the
>> following error:-
>>   error CS0234: The type or namespace name `Drawing' does not exist in
>> the
>> namespace `System'. Are you missing an assembly reference?
>> csharp-client-socket.cs(3,14): error CS0234: The type or namespace name
>> `Windows' does not exist in the namespace `System'. Are you missing an
>> assembly reference?
>>
>> Please tell me how I fix this.
>
> Tell us first how you're compiling?
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


-- 
Regards,
Alf Stockton        www.stockton.co.za



More information about the Mono-list mailing list