[Mono-winforms-list] Newbie question on Winforms

Rafael Teixeira monoman at gmail.com
Thu Oct 28 16:20:32 EDT 2010


Did you reference the needed assembly System.Windows.Forms in the project?
Unless you say the compiler to look inside that separate 'library' for
classes it will spell such error messages (it is akin to not adding a jar to
the claspath in java or not including some header file in C/C++).

Fun,

Rafael "Monoman" Teixeira
---------------------------------------
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and technology.
This is a prescription for disaster. We might get away with it for a while,
but sooner or later this combustible mixture of ignorance and power is going
to blow up in our faces."
-Carl Sagan


On Thu, Oct 28, 2010 at 1:12 PM, Don Clark <dfclark at kbs-soft.com> wrote:

>  I’ve just installed Mono 2.8 and MonoDevelop 2.4 on OS X 10.6.4, and am
> attempting to compile an existing .NET application.  The first complaint
> from the compiler is that System.Winforms doesn’t exist.  This is the source
> line:
> internal class AboutForm : System.Windows.Forms.Form
> And the compiler message is “The type or namespace name ‘Windows’ does not
> exist in the namespace.  Sure enough, I double-click on System under
> References in the Solution and System.Winforms is indeed not in the list.
>  Did I neglect to install something?   Thanks in advance
>
>
>
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20101028/2bef1871/attachment.html 


More information about the Mono-winforms-list mailing list