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

Invariant strings

Nov 2, 2015 at 4:46 PM
Edited Nov 2, 2015 at 4:46 PM
Hi!
Thanks again for this wonderful extension.
I have a problem with the invariant string because every single time I perform a modification in the visual studio designer (add a control, rename a control, change a text, etc...) I lose the invariant attribute in the resx.
I guess it's something with Visual studio. Do you have an idea if it's a setting or something liket that?
Thanks
bye
Nov 4, 2015 at 7:41 AM
Yes, the windows forms designer does not respect existing comments, but always rewrites the complete XML without comments.
Unfortunately there is no setting to change that behavior.
Whenever I ran into this problem I used a compare tool to restore the invariant comments before check in.
Maybe when the snapshot feature (https://resxresourcemanager.codeplex.com/workitem/4604) is done, there could be an easier way to restore these information.