[Mono-list] Error:"Color XXXX is not a valid color".

Sebastien Pouliot sebastien.pouliot at gmail.com
Wed Jun 4 09:05:57 EDT 2008


On Wed, 2008-06-04 at 10:48 +0800, wangli wrote:
> Hello! I have a Error:"Color XXXX is not a valid color". The error
> occurs if the '.aspx'contains colour-setting statement such as:
> ForeColor="Blue". The environment: fc8 + mono-1.2.4 + xsp2-1.2.4 +.
> Net 2.0. I have already even changed the version of mono and xsp2 to
> 1.2.5、1.26、1.9.1, but the error is still there. Could anyone give
> some solution for that, I'll appreciate it very much!

The Color type comes from System.Drawing. System.Drawing depends on
libgdiplus being installed. So make sure you have libgdiplus installed
(and use the same version number as your mono version).

Sebastien



More information about the Mono-list mailing list