[Mono-winforms-list] using System.Windows.Forms in the latest release of Mono

Sheikh Nabeel Moeen sheikh_nabeel_moeen at spymac.com
Mon Aug 8 13:25:23 EDT 2005


running this from the command line gives the following message:

"error CS0006: Cannot find assembly `System.Windows.Form'
Log:

Compilation failed: 1 error(s), 0 warnings
"

On Mon Aug  8  8:25 , Vladimir Lushnikov  sent:

>On 08/08/05, Sheikh Nabeel Moeen sheikh_nabeel_moeen at spymac.com> wrote:
>> Hi all,
>> 
>> I've been developing applications on the .NET platform for the last couple of
>> years. I read about mono some time back and decided to give it a try.
>> 
>> I am runnign Fedora core 3 and downloaded the latest installatioon  of Mono (
>> that being 1.1.8).
>> The installation succeeded without any error msgs. But when i try to include the
>> System.Windows.Forms namespace in an application, it is not available.
>> 
>> I've checked that the System.Windows.Forms.dll file is present in the mono/1.0
>> and mono/2.0 directory, as well as the mono/gac dir.
>> Any suggestions regarding how to get the System.Windows.Forms to work with Mono
>> will be highly appreciated.
>> 
>> 
>> Regards,
>> Nabeel
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>> 
>
>Hi,
>
>Have you tried "mcs YourProjectFile.cs /r:System.Windows.Forms" on the
>command line? That should include the System.Windows.Forms assembly
>
>Regards,
>
>-- 
>Vladimir Lushnikov
>C.E.O and Software Developer
>EverythingX Limited (http://www.everythingx.net)




More information about the Mono-winforms-list mailing list