Re: Mono-winforms-list Digest, Vol 94, Issue 1
Baltasar GarcĂa Perez-Schofield <[email protected]> Sun, 8 Sep 2013 22:14:36 +0200
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <CAGzCYFPXz-+tstY3iiUuJcf+qED1qNo5-AeLoC=XSJnKm5ChEw@mail.gmail.com> |
--===============1981383572== Content-Type: multipart/alternative; boundary=047d7b2e48eeb595e704e5e4eb27 --047d7b2e48eeb595e704e5e4eb27 Content-Type: text/plain; charset=ISO-8859-1 Hello, "Error CS0234: The type or namespace name `Windows' does not exist in the > namespace `System'. Are you missing an assembly reference? (CS0234) > (HelloWindowsForms)" > > Can anyone tell me how to solve this issue? > > Sure, you need to tell the mono compiler to include the Winforms assembly with your program. If you are using MonoDevelop or Xamarin Studio, right-click on "references" on the left, and select "edit references". Put a tick on "System.Windows.Forms", and close. Recompile. Cheers, Baltasar --047d7b2e48eeb595e704e5e4eb27 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello,<br><div class=3D"gmail_extra"><br><div class=3D"gma= il_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord= er-left:1px #ccc solid;padding-left:1ex"> "Error CS0234: The type or namespace name `Windows' does not exist= in the<br> namespace `System'. Are you missing an assembly reference? (CS0234)<br> (HelloWindowsForms)"<br> <br> Can anyone tell me how to solve this issue?<br> <br></blockquote><div><br></div><div>Sure, you need to tell the mono compil= er to include the Winforms assembly with your program. If you are using Mon= oDevelop or Xamarin Studio, right-click on "references" on the le= ft, and select "edit references". Put a tick on "System.Wind= ows.Forms", and close. Recompile.</div> <div><br></div><div>Cheers,</div><div>Baltasar</div><div><br></div></div> </div></div> --047d7b2e48eeb595e704e5e4eb27-- --===============1981383572== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list --===============1981383572==--