[Mono-list] Cannot find type? :-<
Ravi Pratap M
ravi@ximian.com
30 Apr 2003 09:52:22 -0500
Hi there,
> texture-system.cs(65) error CS0246: Cannot find type
> `System.Drawing.Imaging.BitmapData'
> texture-system.cs(64) error CS0246: Cannot find type
> `System.Drawing.Rectangle'
> texture-system.cs(66) error CS0246: Cannot find type `System.Drawing.Color'
> texture-system.cs(63) error CS0246: Cannot find type `System.Drawing.Bitmap'
>
> What does it mean? I fear the worst...
It means that mcs is unable to find the classes/types which it mentions
here. The possible reason for this could be that you are not referencing
the System.Drawing assembly in the command line when you compile your
program.
So do :
$ mcs -r:System texture-system.cs
HTH,
Ravi