Merge project files
That'd be nice if you'd help to merge project files (csproj, vbproj) that are generated by the IDE.
Michael Adamission commented
+100 for Ralf Koban's comment. We tried it and it works great. Resolves csproj file 99% of the time without conflicts.
Ralf Koban commented
You can use external parsers for that (I've written some):
.csproj, .sqlproj, .vbproj, .xml:
Maybe that can help you on merging.
Colin Young commented
I think full XML with extensions to support .??proj files would be the best solution (i.e. relax ordering in some cases, enforce in others, etc.) We'd probably want to track ordering changing in XML in any case and make the decision based on the type of file if it was important or not.
Bruno Brant commented
@Jason, what if we just added some options to the XML merger, like, don't care about item order, etc?
Grouping, I think, is pretty complex.
Jason Stangroome commented
Merging project files using XML semantics only would be insufficient. For example:
* Order of Items is unimportant.
* Order of Properties can be important.
* Grouping child elements into ItemGroups and PropertyGroups without Conditions is unimportant.
Mike C commented
If we can semantically merge XML, then we can handle project files. :-)