(self)
Writes the project file.
Writes the project file.
Writes the project file .
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")
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" )