This project has moved and is read-only. For the latest updates, please go here.

Changes in designer delete resources

Apr 1, 2016 at 1:12 PM
Hi all, in my WinForms project changes of a form with the help of the designer - e.g. change of the size of a control - automatically deletes all manually added resource strings in the forms resx file of the neutral culture. The resx file of the other cultures remain unchanged. Any ideas what's wrong? Thanks in advance! Ralph
Apr 1, 2016 at 2:10 PM
The designer recreates the resx file every time you modify the form - you can't store any custom value inside.
You have to create another resx file for common strings.
Apr 4, 2016 at 9:47 AM
Hi Tom, would it be an idea to disable the add ("+") button for all resx files that my be manipulated by the designer? These files can - from my (unprofessional) point of view - be identified by the element

<metadata name="$this.Localizable" type="System.Boolean, ...">
Apr 4, 2016 at 2:43 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Apr 4, 2016 at 2:44 PM
Good point