When using a Set Range Color Activity, the following compiler error is displayed: "System.Drawing.Color.Green" 'Drawing' is not a member of 'String' .
In this case, this is happening because in the workflow there is a variable called System, of type String.
- "System" is a reserved keyword for the System namespace in .NET and this error normally occurs when you use a variable or an argument with a reserved keyword.
- The Set Range Color activity is seeing this variable instead of the System namespace.
The solution is to change the variable name so it doesn't interfere when compiling the activity.