private void OnSerializingMethod(StreamingContext context) { IncrementalUtility.SaveDependency(DependencyFile, Dependency); IncrementalUtility.SaveIntermediateFile(AttributesFile, Attributes); IncrementalUtility.SaveIntermediateFile(ManifestFile, Manifest); IncrementalUtility.SaveIntermediateFile(XRefSpecMapFile, XRefSpecMap); }
internal void Save(string baseDir) { if (IntermediateModelManifestFile == null) { IntermediateModelManifestFile = IncrementalUtility.CreateRandomFileName(baseDir); } IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, IntermediateModelManifestFile), IntermediateModelManifest); }
public void SaveManifest(string baseDir) { if (ManifestItemsFile == null) { ManifestItemsFile = IncrementalUtility.CreateRandomFileName(baseDir); } IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, ManifestItemsFile), ManifestItems); }
internal void Save(string baseDir) { IncrementalUtility.SaveDependency(Path.Combine(baseDir, DependencyFile), Dependency); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, AttributesFile), Attributes); //IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, ManifestFile), Manifest); //IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, XRefSpecMapFile), XRefSpecMap); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, BuildModelManifestFile), BuildModelManifest); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, PostBuildModelManifestFile), PostBuildModelManifest); }
public void SaveManifest(string baseDir) { var expanded = Path.GetFullPath(Environment.ExpandEnvironmentVariables(baseDir)); if (ManifestItemsFile == null) { ManifestItemsFile = IncrementalUtility.CreateRandomFileName(expanded); } IncrementalUtility.SaveIntermediateFile(Path.Combine(expanded, ManifestItemsFile), ManifestItems); }
internal void Save(string baseDir) { IncrementalUtility.SaveDependency(Path.Combine(baseDir, DependencyFile), Dependency); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, AttributesFile), Attributes); BuildMessage.Save(Path.Combine(baseDir, BuildMessageFile)); foreach (var processor in Processors) { processor.Save(baseDir); } }
internal void Save(string baseDir) { IncrementalUtility.SaveDependency(Path.Combine(baseDir, DependencyFile), Dependency); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, AttributesFile), Attributes); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, OutputFile), BuildOutputs); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, XRefSpecMapFile), XRefSpecMap); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, FileMapFile), FileMap); IncrementalUtility.SaveBuildMessage(Path.Combine(baseDir, BuildMessageFile), BuildMessage); foreach (var processor in Processors) { processor.Save(baseDir); } }
internal void Save(string baseDir) { if (PostProcessOutputsFile == null) { PostProcessOutputsFile = IncrementalUtility.CreateRandomFileName(baseDir); } if (MessageInfoFile == null) { MessageInfoFile = IncrementalUtility.CreateRandomFileName(baseDir); } IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, PostProcessOutputsFile), PostProcessOutputs); using var sw = new StreamWriter(Path.Combine(baseDir, MessageInfoFile), false, UTF8); MessageInfo.Save(sw); }
internal void Save(string baseDir) { IncrementalUtility.SaveDependency(Path.Combine(baseDir, DependencyFile), Dependency); if (FileMetadataFile != null) { IncrementalUtility.SaveIntermediateFile( Path.Combine(baseDir, FileMetadataFile), FileMetadata, IncrementalUtility.FileMetadataJsonSerializationSettings); } IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, AttributesFile), Attributes); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, OutputFile), BuildOutputs); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, XRefSpecMapFile), XRefSpecMap); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, FileMapFile), FileMap); IncrementalUtility.SaveBuildMessage(Path.Combine(baseDir, BuildMessageFile), BuildMessage); IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, TocRestructionsFile), TocRestructions); foreach (var processor in Processors) { processor.Save(baseDir); } }
public void Save(string file) { IncrementalUtility.SaveIntermediateFile <IDictionary <string, List <LogItem> > >(file, _logs); }
public void SaveManifest() { IncrementalUtility.SaveIntermediateFile(Path.Combine(BaseDir, ManifestFile), Manifest); }
public void SaveManifest(string baseDir) { var expanded = Path.GetFullPath(Environment.ExpandEnvironmentVariables(baseDir)); IncrementalUtility.SaveIntermediateFile(Path.Combine(expanded, ManifestFile), Manifest); }