private bool IsFileContentDifferent(OutputFile file) { return(File.ReadAllText(file.FileName) != file.BuildContent()); }
private void ProcessFile(OutputFile outputFile, ProjectItem placeholder) { CheckoutFileIfRequired(outputFile.FileName); File.WriteAllText(outputFile.FileName, outputFile.BuildContent(), Encoding.UTF8); placeholder.ProjectItems.AddFromFile(outputFile.FileName); }