21 writes to OutputDirectory
Microsoft.Build.Tasks.UnitTests (21)
WriteCodeFragment_Tests.cs (21)
89task.OutputDirectory = new TaskItem(Path.GetTempPath()); 186task.OutputDirectory = new TaskItem("c:\\"); 284task.OutputDirectory = new TaskItem("||invalid||"); 338task.OutputDirectory = new TaskItem(Path.GetTempPath()); 365task.OutputDirectory = new TaskItem(Path.GetTempPath()); 392task.OutputDirectory = new TaskItem(Path.GetTempPath()); 449task.OutputDirectory = new TaskItem(relativeFolder); 524task.OutputDirectory = new TaskItem(Path.GetTempPath()); 547task.OutputDirectory = new TaskItem(Path.GetTempPath()); 572task.OutputDirectory = new TaskItem(Path.GetTempPath()); 597task.OutputDirectory = new TaskItem(Path.GetTempPath()); 630task.OutputDirectory = new TaskItem(Path.GetTempPath()); 667task.OutputDirectory = new TaskItem(Path.GetTempPath()); 700task.OutputDirectory = new TaskItem(Path.GetTempPath()); 724task.OutputDirectory = new TaskItem(Path.GetTempPath()); 748task.OutputDirectory = new TaskItem(Path.GetTempPath()); 774task.OutputDirectory = new TaskItem(Path.GetTempPath()); 808task.OutputDirectory = new TaskItem(Path.GetTempPath()); 1148task.OutputDirectory = new TaskItem(Path.GetTempPath()); 1183OutputDirectory = outputDirectory, 1306task.OutputDirectory = new TaskItem(Path.GetTempPath());
5 references to OutputDirectory
Microsoft.Build.Tasks.Core (5)
WriteCodeFragment.cs (5)
90if (OutputFile == null && OutputDirectory == null) 113if (OutputFile != null && OutputDirectory != null && !Path.IsPathRooted(OutputFile.ItemSpec)) 115OutputFile = new TaskItem(Path.Combine(OutputDirectory.ItemSpec, OutputFile.ItemSpec)); 124AbsolutePath outputDirectoryPath = TaskEnvironment.GetAbsolutePath(OutputDirectory.ItemSpec); 126OutputFile = new TaskItem(Path.Combine(OutputDirectory.ItemSpec, Path.GetFileName(outputFilePath.Value)));