Attribute constant '<constantname>' cannot be the target of an assignment
An attempt was made to assign a value to a constant declared in an attribute.
Error ID: BC31510
To correct this error
Remove the erroneous assignment.
If you are using custom attributes that you developed, redefine the member in the attribute as a field.