[Mono-winforms-list] Problem: "Drawing" and "Windows" not recognised

Mihai mihaidf at yahoo.com
Fri Feb 11 16:43:54 EST 2011


I tried to compile a .cs file that includes the directives "using
System.Drawing;" and "using System.Windows.Forms; ", but Mono gives two
error messages: 

"The type or namespace 'Drawing' does not exist in the namespace 'System'.
Are you missing an assembly reference?"
"The type or namespace 'Windows' does not exist in the namespace 'System'.
Are you missing an assembly reference?"

I managed to compile the same file in Visual Studio, so I wonder what I need
to do in order to have files of this kind compiled in Mono too?

If anyone can help me with this, thank you in advance.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Problem-Drawing-and-Windows-not-recognised-tp3302075p3302075.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.


More information about the Mono-winforms-list mailing list