Re: Newbie question on Winforms
Rafael Teixeira <[email protected]>
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list > > _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list