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