RE: Order of entries in .resx file -
04-05-2004
, 10:16 AM
Christian,
Right now things are serialized in a pseudo random fashion. I think this
is being looked at being updated for a next release. The best thing for
you to do is to probably have your developers retain individual copies of
the resource file and then do the merge when the are done (or get a better
merge too). That'll limit the merge to only doing it once manually.
You could of course write a utility that sorts the XML tree alphabetically
and then you could do the checkin.
Thanks! Robert Gruen
Microsoft, VB.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
#From: cbenien (AT) hotmail (DOT) com (Christian Benien)
#Newsgroups: microsoft.public.dotnet.framework.windowsforms.des igntime
#Subject: Order of entries in .resx file
#Date: 2 Apr 2004 00:46:34 -0800
#Organization: http://groups.google.com
#Lines: 15
#Message-ID: <7fb84161.0404020046.2a1f9a25 (AT) posting (DOT) google.com>
#NNTP-Posting-Host: 80.140.222.131
#Content-Type: text/plain; charset=ISO-8859-1
#Content-Transfer-Encoding: 8bit
#X-Trace: posting.google.com 1080895594 16460 127.0.0.1 (2 Apr 2004
08:46:34 GMT)
#X-Complaints-To: groups-abuse (AT) google (DOT) com
#NNTP-Posting-Date: Fri, 2 Apr 2004 08:46:34 +0000 (UTC)
#Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA01.phx.gbl!TK2MSFTNGP08
..phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!postnews1.goo
gle.com!not-for-mail
#Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms.des igntime:4461
#X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms.des igntime
#
#Hi,
#
#in our group two developers are working on the same component in
#design view. They regularly check in their files to source control
#(Clear Case), but the merge of the .resx files is always very hard
#because the entries (even if they are unchanged) change their order
#frequently. This does completely confuse the merge tool, and there is
#basically no way to resolve this issue besides resolving each and
#every conflict manually (~100 conflicts right now)
#
#Does anyone have an idea how we can force the design serializer to
#always use the same order (e.g. alphabetical) in the .resx file?
#
#Thanks,
#Christian
# |