parameters: (self)
docstring: Writes the project file.
docstring_summary: Writes the project file.
docstring_tokens: Writes the project file .
function: def WriteIfChanged(self):
      """Writes the project file."""
      # First create XML content definition
      content = [
          'VisualStudioProject',
          {'ProjectType': 'Visual C++',
           'Version': self.version.ProjectVersion(),
           'Name': self.name,
           'ProjectGUID': self.guid,
           'RootNamespace': self.name,
           'Keyword': 'Win32Proj'
          },
          self.platform_section,
          self.tool_files_section,
          self.configurations_section,
          ['References'],  # empty section
          self.files_section,
          ['Globals']  # empty section
      ]
      easy_xml.WriteXmlIfChanged(content, self.project_path,
                                 encoding="Windows-1252")
function_tokens: def WriteIfChanged ( self ) : # First create XML content definition content = [ 'VisualStudioProject' , { 'ProjectType' : 'Visual C++' , 'Version' : self . version . ProjectVersion ( ) , 'Name' : self . name , 'ProjectGUID' : self . guid , 'RootNamespace' : self . name , 'Keyword' : 'Win32Proj' } , self . platform_section , self . tool_files_section , self . configurations_section , [ 'References' ] , # empty section self . files_section , [ 'Globals' ] # empty section ] easy_xml . WriteXmlIfChanged ( content , self . project_path , encoding = "Windows-1252" )