Dear FiveM community and team,
When trying to use System.Drawing.Color
from the CitizenFx.Core
namespace the compiler complains that the referenced assembly is not defined. The compiler suggests adding the following reference to the System.Drawing
assembly:
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
When trying to do so the compiler prints that the type Color
exists in both CitizenFx.Core
and System.Drawing
.
We also tried using System.Drawing.Color
by importing it like the following.
using Color = System.Drawing;
but this also resulted in the same error as stated above (with and without the reference to System.Drawing
).`
Thanks in advance.