def WriteIfChanged(self):
    configs = ['Configurations']
    for config, spec in sorted(self.configurations.iteritems()):
      configs.append(spec)

    content = ['VisualStudioUserFile',
               {'Version': self.version.ProjectVersion(),
                'Name': self.name
               },
               configs]
    easy_xml.WriteXmlIfChanged(content, self.user_file_path,
                               encoding="Windows-1252")
Writes the user file.
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/MSVSUserFile.py/Writer.WriteIfChanged