Esempio n. 1
0
 private void OnSerializingMethod(StreamingContext context)
 {
     IncrementalUtility.SaveDependency(DependencyFile, Dependency);
     IncrementalUtility.SaveIntermediateFile(AttributesFile, Attributes);
     IncrementalUtility.SaveIntermediateFile(ManifestFile, Manifest);
     IncrementalUtility.SaveIntermediateFile(XRefSpecMapFile, XRefSpecMap);
 }
Esempio n. 2
0
 internal void Save(string baseDir)
 {
     if (IntermediateModelManifestFile == null)
     {
         IntermediateModelManifestFile = IncrementalUtility.CreateRandomFileName(baseDir);
     }
     IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, IntermediateModelManifestFile), IntermediateModelManifest);
 }
Esempio n. 3
0
 public void SaveManifest(string baseDir)
 {
     if (ManifestItemsFile == null)
     {
         ManifestItemsFile = IncrementalUtility.CreateRandomFileName(baseDir);
     }
     IncrementalUtility.SaveIntermediateFile(Path.Combine(baseDir, ManifestItemsFile), ManifestItems);
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
        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);
        }
Esempio n. 6
0
 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);
     }
 }
Esempio n. 7
0
 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);
     }
 }
Esempio n. 8
0
 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);
 }
Esempio n. 9
0
 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);
     }
 }
Esempio n. 10
0
 public void Save(string file)
 {
     IncrementalUtility.SaveIntermediateFile <IDictionary <string, List <LogItem> > >(file, _logs);
 }
Esempio n. 11
0
 public void SaveManifest()
 {
     IncrementalUtility.SaveIntermediateFile(Path.Combine(BaseDir, ManifestFile), Manifest);
 }
Esempio n. 12
0
        public void SaveManifest(string baseDir)
        {
            var expanded = Path.GetFullPath(Environment.ExpandEnvironmentVariables(baseDir));

            IncrementalUtility.SaveIntermediateFile(Path.Combine(expanded, ManifestFile), Manifest);
        }