Tag: linq

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. Read more »