[Mono-devel-list] Error on Windows XP

Marco Villegas markovillegas at yahoo.com
Thu May 27 04:59:40 EDT 2004


when i compile this code

////////////////////////////
class HelloWindowsForms
{
    static void Main()
    {
        System.Windows.Forms.MessageBox.Show("Welcome
to the bill free zone.");
    }
}
///////////////////////////

and trying to build it with this command:
mcs HelloWindowsForms.cs /pkg:System.Windows.Forms
/pkg:System.Drawing

i get the following error

error CS2001: Source file
'/pkg:System.Windows.Forms.dll' could not be opened
error CS2001: Source file '/pkg:System.Drawing.dll'
could not be opened
Compilation failed: 2 error(s), 0 warnings


pd, i had try with /r: and got the following error

error CS0006: Cannot find assembly
`System.Windows.Forms.dll'
Log:

error CS0006: Cannot find assembly
`System.Drawing.dll'
Log:

Compilation failed: 2 error(s), 0 warnings


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



More information about the Mono-devel-list mailing list