where is my System.Windows.Forms.MessageBox?
this is my very simple progam :
--------------------------------------
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
System.Windows.Forms.MessageBox.Show("");
}
}
}
I got this compilation error:
--------------------------------------------
Error 1 The type or namespace name 'MessageBox' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?)
-------------------------------------
Anybody , any ideas ?
Thanks in advance.
Michael
|