BackEnd\Components\Scheduler\Scheduler.cs (7)
227_debugDumpPath = FileUtilities.TempFileDirectory;
2570FileUtilities.EnsureDirectoryExists(_debugDumpPath);
2572using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerTrace_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2595FileUtilities.EnsureDirectoryExists(_debugDumpPath);
2596using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2710using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2750using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
BuildEnvironmentHelper.cs (9)
150var vsRoot = FileUtilities.GetFolderAbove(vsProcess, 3);
202var msBuildExe = Path.Combine(FileUtilities.GetFolderAbove(buildAssembly), "MSBuild.exe");
203var msBuildDll = Path.Combine(FileUtilities.GetFolderAbove(buildAssembly), "MSBuild.dll");
360return FileUtilities.GetFolderAbove(msBuildAssembly,
369return FileUtilities.CombinePaths(
445return FileUtilities.ExecutingAssemblyPath;
604var potentialAmd64FromX86 = FileUtilities.CombinePaths(MSBuildToolsDirectoryRoot, "amd64", msBuildExeName);
605var potentialARM64FromX86 = FileUtilities.CombinePaths(MSBuildToolsDirectoryRoot, "arm64", msBuildExeName);
677defaultSdkPath = FileUtilities.CombinePaths(VisualStudioInstallRootDirectory, "MSBuild", "Sdks");
Modifiers.cs (31)
110if (name == FileUtilities.ItemSpecModifiers.RootDir)
126if (name == FileUtilities.ItemSpecModifiers.FullPath)
130if (name == FileUtilities.ItemSpecModifiers.Filename)
138if (name == FileUtilities.ItemSpecModifiers.Identity)
153if (name == FileUtilities.ItemSpecModifiers.Directory)
161if (name == FileUtilities.ItemSpecModifiers.Extension)
176if (name == FileUtilities.ItemSpecModifiers.CreatedTime)
184if (name == FileUtilities.ItemSpecModifiers.RelativeDir)
200if (name == FileUtilities.ItemSpecModifiers.AccessedTime)
208if (name == FileUtilities.ItemSpecModifiers.ModifiedTime)
216if (name == FileUtilities.ItemSpecModifiers.RecursiveDir)
256if (name == FileUtilities.ItemSpecModifiers.DefiningProjectName)
262if (name == FileUtilities.ItemSpecModifiers.DefiningProjectFullPath)
274if (name == FileUtilities.ItemSpecModifiers.DefiningProjectDirectory)
282if (name == FileUtilities.ItemSpecModifiers.DefiningProjectExtension)
392if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.FullPath, StringComparison.OrdinalIgnoreCase))
409else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.RootDir, StringComparison.OrdinalIgnoreCase))
425else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.Filename, StringComparison.OrdinalIgnoreCase))
440else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.Extension, StringComparison.OrdinalIgnoreCase))
454else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.RelativeDir, StringComparison.OrdinalIgnoreCase))
458else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.Directory, StringComparison.OrdinalIgnoreCase))
495else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.RecursiveDir, StringComparison.OrdinalIgnoreCase))
500else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.Identity, StringComparison.OrdinalIgnoreCase))
504else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.ModifiedTime, StringComparison.OrdinalIgnoreCase))
510FileInfo info = FileUtilities.GetFileInfoNoThrow(unescapedItemSpec);
522else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.CreatedTime, StringComparison.OrdinalIgnoreCase))
538else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.AccessedTime, StringComparison.OrdinalIgnoreCase))
563if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.DefiningProjectDirectory, StringComparison.OrdinalIgnoreCase))
574if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.DefiningProjectFullPath, StringComparison.OrdinalIgnoreCase))
578else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.DefiningProjectName, StringComparison.OrdinalIgnoreCase))
582else if (string.Equals(modifier, FileUtilities.ItemSpecModifiers.DefiningProjectExtension, StringComparison.OrdinalIgnoreCase))