21 references to AbsolutePath
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1123_requestEntry.TaskEnvironment.ProjectDirectory = new AbsolutePath(_requestEntry.ProjectRootDirectory, ignoreRootedCheck: true); 1460_requestEntry.TaskEnvironment.ProjectDirectory = new AbsolutePath(_requestEntry.RequestConfiguration.SavedCurrentDirectory, ignoreRootedCheck: true);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
443_buildRequestEntry.TaskEnvironment.ProjectDirectory = new AbsolutePath(_buildRequestEntry.ProjectRootDirectory, ignoreRootedCheck: true);
Microsoft.Build.Engine.UnitTests (4)
BackEnd\TaskEnvironment_Tests.cs (4)
188taskEnvironment.ProjectDirectory = new AbsolutePath(testDirectory, ignoreRootedCheck: true); 194taskEnvironment.ProjectDirectory = new AbsolutePath(alternateDirectory, ignoreRootedCheck: true); 229taskEnvironment.ProjectDirectory = new AbsolutePath(baseDirectory, ignoreRootedCheck: true); 274taskEnvironment.ProjectDirectory = new AbsolutePath(testDirectory, ignoreRootedCheck: true);
Microsoft.Build.Framework (3)
MultiProcessTaskEnvironmentDriver.cs (1)
34get => new AbsolutePath(NativeMethods.GetCurrentDirectory(), ignoreRootedCheck: true);
MultiThreadedTaskEnvironmentDriver.cs (2)
35ProjectDirectory = new AbsolutePath(currentDirectoryFullPath, ignoreRootedCheck: true); 52ProjectDirectory = new AbsolutePath(currentDirectoryFullPath, ignoreRootedCheck: true);
Microsoft.Build.Framework.UnitTests (8)
AbsolutePath_Tests.cs (8)
18return new AbsolutePath(baseDirectory, ignoreRootedCheck: false); 32Should.Throw<ArgumentException>(() => new AbsolutePath(path, ignoreRootedCheck: false), 158var lowerPath = new AbsolutePath("C:\\foo\\bar", ignoreRootedCheck: true); 159var upperPath = new AbsolutePath("C:\\FOO\\BAR", ignoreRootedCheck: true); 184Should.Throw<ArgumentException>(() => new AbsolutePath(path, ignoreRootedCheck: ignoreRootedCheck)); 188var absolutePath = new AbsolutePath(path, ignoreRootedCheck: ignoreRootedCheck); 273var absolutePath = new AbsolutePath(inputPath, ignoreRootedCheck: true); 291var absolutePath = new AbsolutePath(invalidPath, ignoreRootedCheck: true);
Microsoft.Build.Tasks.Core (1)
GetReferenceAssemblyPaths.cs (1)
170: new AbsolutePath(RootPath, ignoreRootedCheck: true);
Microsoft.Build.Tasks.UnitTests (1)
FileStateTests.cs (1)
23private static AbsolutePath TestPath(string path) => new AbsolutePath(path, ignoreRootedCheck: true);
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
893AbsolutePath filePath = !string.IsNullOrEmpty(fileName) ? TaskEnvironment.GetAbsolutePath(fileName) : new AbsolutePath(fileName, ignoreRootedCheck: true);