4: sort xml in vsmdi files before comparing


Visual Studio has an annoying way of shuffling up the content of a vsmdi file (the xml file used to store unit tests under lists)

When checking in, its impossible to be sure of the changes made when comparing with the old version.

This tool simply loads the xml, sorts the items inside a list node by name (using Linq.Xml) and saves the file. Its built as a command line utility and takes 2 arguments (the names of the files). It can be configured with a diff tool so that it automatically shows the diff of the temp sorted files. A DEBUG argument will also show the original unsorted files.

This can be configured in visual studio as the comparison tool for the .vsmdi files.


Warning: count(): Parameter must be an array or an object that implements Countable in /home/cselian/public_html/blog/wp-includes/class-wp-comment-query.php on line 405

Leave a Comment