VC2063: Attribute doesn't apply to the parameter's type

error All diagnostics

The attribute is real but means nothing for this parameter's type: min on text, targets on anything but an image, true-value on anything but a boolean.

How to fix

Remove the attribute, or change the parameter's type to one it applies to.