[MonoDevelop] Namespaces in Mono

Sayth Renshaw flebber.crue at gmail.com
Wed Mar 16 07:12:29 EDT 2011


I am just starting using mono and have version 2.4 installed.

Can I have some help regarding namespaces. I started with just a very basic
Hello World to kick things off.

The build failed though as the namespace System.Windows.Forms; could not be
found. After a litle searching I found http://www.mono-project.com/Winforms
and the geting started guide
http://www.mono-project.com/WinForms_Getting_Started_Guide in the example
they use

using System;
using System.Drawing;
using System.Windows.Forms;


So I implemented that but still both Drawing and Forms error when building
that the type or namespace does not exist. What am I doing wrong.

using System;

using System.Drawing;

using System.Windows.Forms;



namespace BasicHello

{

    public class Program

    {

        public static void Main()

        {

            MessageBox.Show("Hello World!");

        }

    }

}

Sayth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20110316/d124f2c4/attachment.html 


More information about the Monodevelop-list mailing list