#1,122 – Localization III – Updating UIDs after Initial Creation
July 25, 2014 1 Comment
In order to localize your application, you must assign unique UIDs to all elements. This is done with the msbuild command and the /t:updateuid parameter. You normally do this before you start localizing your application.
If you later add user interface elements to your application, you’ll have some elements that don’t have the x:Uid attribute. You can check to see if there are elements that are missing this attribute using the /t:checkuid parameter on the msbuild command.
At this point, you can use the /t:updateuid parameter with the msbuild command again to add the x:Uid attribute to any elements that are missing it. This command will also fix any duplicated UIDs.
You can use the /t:updateuid parameter as often as you like. Each time you run msbuild with this parameter, you’ll update UIDs for all user interface elements.