44 references to Save
installer.tasks (1)
GenerateFileVersionProps.cs (1)
157props.Save(PropsFile);
Microsoft.Build (2)
Construction\Solution\SolutionProjectGenerator.cs (1)
1032metaproject.Save(path);
Definition\Project.cs (1)
1447Xml.Save(path);
Microsoft.Build.CommandLine.UnitTests (1)
CommandLineSwitches_Tests.cs (1)
1157project.Save(filename);
Microsoft.Build.Engine.OM.UnitTests (20)
Construction\ProjectImportElement_Tests.cs (5)
165importProject1.Save(file1); 170importProject2.Save(file2); 209importProject.Save(file); 260project.Save(projectfile); 263project.Save(targetsFile);
Construction\ProjectRootElement_Tests.cs (9)
176projectXml1.Save(FileUtilities.GetTemporaryFileName()); 608project.Save(file); 642project.Save(path); 674project.Save(file); // relative path: file and a single directory only; should create the "bar" part 1029CreatePREWithSubstantialContent().Save(paths[i]); 1114CreatePREWithSubstantialContent().Save(paths[current]); 1301projectXml.Save(projectFile); 1335projectElement.Save(projectFile); 1600projectElement.Save(projectPath);
Definition\Project_Tests.cs (4)
1364ProjectRootElement.Create().Save(path); 1457import.Save(importFile); 1522import.Save(importFile); 1606projectRootElement.Save(projectFile);
Definition\ProjectCollection_Tests.cs (2)
301xml.Save(path); 1464xml.Save(path);
Microsoft.Build.Engine.UnitTests (19)
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
467project.Save(projectFile); 470project.Save(targetsFile);
Construction\ProjectImportElement_Tests.cs (1)
124rootElement.Save(env.GetTempFile(".csproj").Path);
Construction\SolutionProjectGenerator_Tests.cs (1)
1056projectBravoMetaProject.ToProjectRootElement().Save(projectBravoMetaProject.FullPath);
Definition\Project_Internal_Tests.cs (3)
277projectRootElement.Save(testEnvironment.CreateFile().Path); 305projectRootElement.Save(testEnvironment.CreateFile().Path); 333projectRootElement.Save(testEnvironment.CreateFile().Path);
Evaluation\Evaluator_Tests.cs (1)
1828import.Save(file);
Graph\ProjectGraph_Tests.cs (8)
852project1Xml.Save(project1Path); 853project2Xml.Save(project2Path); 854project3Xml.Save(project3Path); 855project4Xml.Save(project4Path); 856project5Xml.Save(project5Path); 857project6Xml.Save(project6Path); 858project7Xml.Save(project7Path); 859project8Xml.Save(project8Path);
Instance\ProjectInstance_Internal_Tests.cs (3)
769xml.Save(file); 897projectRootElement.Save(testEnvironment.CreateFile().Path); 925projectRootElement.Save(testEnvironment.CreateFile().Path);
Microsoft.DotNet.Arcade.Sdk (1)
src\SaveItems.cs (1)
52project.Save(File);