VC2041: Keyword is missing its attribute
Rendering keywords need their main attribute to do anything: <if condition>, <for-each in>, <slot name>, <parameter name>, <switch value> and so on. Without it, the element is treated as a plain element.
How to fix
Add the attribute.