Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / April 2004

Tip: Looking for answers? Try searching our database.

Order of entries in .resx file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Christian Benien - 02 Apr 2004 09:46 GMT
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
Robert Gruen [MSFT] - 05 Apr 2004 15:16 GMT
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@hotmail.com (Christian Benien)
#Newsgroups: microsoft.public.dotnet.framework.windowsforms.designtime
#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@posting.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@google.com
#NNTP-Posting-Date: Fri, 2 Apr 2004 08:46:34 +0000 (UTC)
#Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.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.designtime:4461
#X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms.designtime
#
#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
#

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.