Merging vcproj files - SCM's hell

前端 未结 8 1592
长发绾君心
长发绾君心 2020-12-13 04:23

Merging project/solution files is a well-known disaster among developers/SCM admins performing merges in their source control.

Take, for example, a common scenario:

相关标签:
8条回答
  • 2020-12-13 05:22

    What we do with resource files (not so much trouble with project files) is to sort them prior merging. We've configured the merge command on Plastic to actually run a sort (a different app we've developed for that, we can share the code if you're interested, nothing fancy) before merging, so all the random relocations go away... Hope it helps.

    0 讨论(0)
  • 2020-12-13 05:24

    I created a tool to compare and merge solution file (http://slntools.codeplex.com). It's a lot easier to merge a solution with the tool compared to a 'generic merger'. It cannot handle project files thought.

    0 讨论(0)
提交回复
热议问题