Re: [Mono-list] Windows.Forms not found

2007-07-10 Thread Mladen Bestvina
: [Mono-list] Windows.Forms not found Hello! The compilation of the code below fails, apparently because Windows.Forms cannot be found on the system. I do have Windows.Forms.dll. I am using Ubuntu Feisty Fawn and I installed mono from ubuntu packages. Any advice is appreciated. Mladen

Re: [Mono-list] Windows.Forms not found

2007-07-10 Thread Mladen Bestvina
out of ideas :) -Original Message- From: Mladen Bestvina [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 11:16 AM To: Maser, Dan Cc: mono-list@lists.ximian.com Subject: Re: [Mono-list] Windows.Forms not found Thanks Dan. I tried this, but I get: [EMAIL PROTECTED]:~/mono

[Mono-list] Windows.Forms not found

2007-07-06 Thread Mladen Bestvina
Hello! The compilation of the code below fails, apparently because Windows.Forms cannot be found on the system. I do have Windows.Forms.dll. I am using Ubuntu Feisty Fawn and I installed mono from ubuntu packages. Any advice is appreciated. Mladen = [EMAIL

Re: [Mono-list] Windows.Forms not found

2007-07-06 Thread Maser, Dan
PM To: mono-list@lists.ximian.com Subject: [Mono-list] Windows.Forms not found Hello! The compilation of the code below fails, apparently because Windows.Forms cannot be found on the system. I do have Windows.Forms.dll. I am using Ubuntu Feisty Fawn and I installed mono from ubuntu packages

Re: [Mono-list] Windows.Forms not found

2007-07-06 Thread Maser, Dan
To: Maser, Dan Cc: mono-list@lists.ximian.com Subject: Re: [Mono-list] Windows.Forms not found Thanks Dan. I tried this, but I get: [EMAIL PROTECTED]:~/mono$ mcs -r:System.Drawing -r:System.Windows.Forms sample.cs error CS0006: cannot find metadata file `System.Windows.Forms' Compilation failed: 1

Re: [Mono-list] Windows.Forms not found

2007-07-06 Thread Maser, Dan
next guess is that your lib path doesn't include the place where your mono dlls are. -Original Message- From: Mladen Bestvina [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 12:08 PM To: Maser, Dan Cc: mono-list@lists.ximian.com Subject: Re: [Mono-list] Windows.Forms not found

Re: [Mono-list] Windows.Forms not found

2007-07-06 Thread Andy Hume
You need to add the reference to System.Windows.Forms just like you did System.Drawing. Such as mcs -r:System.Drawing -r:System.Windows.Forms sample.cs Or instead just use -pkg:dotnet. See e.g. http://www.mono-project.com/WinForms_Getting_Started_Guide Andy