Soluling home   Document home

Duplicate names in XAML

Duplicate names in XAML

Soluling shows this warning in the Output sheet when it scans a XAML file and finds that several components have the same name. Soluling uses the component names to identify the strings, so it cannot tell such components apart reliably: their translations may be mixed up, or lost when the file changes.

The warning names the duplicate name and one of the components that uses it. Give every component a unique name in your XAML, for example with x:Name, and scan the project again.

A similar warning is shown when a resource contains the same ID twice.

See also No name in XAML element.