33 references to GetCanonicalForm
Microsoft.Build.Framework (3)
MultiThreadedTaskEnvironmentDriver.cs (2)
76_currentDirectory = value.GetCanonicalForm(); 141GetAbsolutePath(tempDirectory).GetCanonicalForm());
PathHelpers\AbsolutePath.cs (1)
132/// un-normalized form; <see cref="GetCanonicalForm"/> is the single normalization step.
Microsoft.Build.Tasks.Core (21)
AssemblyDependency\ReferenceTable.cs (2)
489reference.FullPath = _taskEnvironment.GetAbsolutePath(assemblyFileName).GetCanonicalForm(); 1404resolvedPath = FileUtilities.FixFilePath(_taskEnvironment.GetAbsolutePath(resolvedPath).GetCanonicalForm());
AssignTargetPath.cs (2)
70TaskEnvironment.GetAbsolutePath(FileUtilities.EnsureTrailingSlash(RootFolder)).GetCanonicalForm(); 137TaskEnvironment.GetAbsolutePath(Files[i].ItemSpec).GetCanonicalForm();
Copy.cs (2)
1145source.Path = source.Path.GetCanonicalForm(); 1146destination.Path = destination.Path.GetCanonicalForm();
ListOperators\FindUnderPath.cs (2)
70TaskEnvironment.GetAbsolutePath(FileUtilities.FixFilePath(Path.ItemSpec)).GetCanonicalForm()); 103TaskEnvironment.GetAbsolutePath(FileUtilities.FixFilePath(item.ItemSpec)).GetCanonicalForm());
ManifestUtil\PathUtil.cs (1)
245return new AbsolutePath(path, baseDirectory).GetCanonicalForm();
ManifestUtil\Util.cs (1)
428key = ((string)taskEnvironment.GetAbsolutePath(item.ItemSpec).GetCanonicalForm()).ToUpperInvariant();
ResolveManifestFiles.cs (2)
526var outputAssembliesMap = outputAssemblies.ToDictionary(p => (string)TaskEnvironment.GetAbsolutePath(p.ItemSpec).GetCanonicalForm(), StringComparer.OrdinalIgnoreCase); 538string key = (string)TaskEnvironment.GetAbsolutePath(item.ItemSpec).GetCanonicalForm();
SystemState.cs (1)
622AbsolutePath fullPath = taskEnvironment.GetAbsolutePath(Path.Combine(stateFileDirectory, relativePath)).GetCanonicalForm();
TarFiles.cs (2)
115private string GetSourcePath(ITaskItem item) => Path.TrimEndingDirectorySeparator(TaskEnvironment.GetAbsolutePath(item.ItemSpec).GetCanonicalForm()); 137: FileUtilities.EnsureTrailingSlash(TaskEnvironment.GetAbsolutePath(SourceFilesRoot.ItemSpec).GetCanonicalForm());
TaskEnvironmentExtensions.cs (1)
28return absolutePath.GetCanonicalForm();
Untar.cs (3)
294AbsolutePath fullDestinationDirectoryPath = TaskEnvironment.GetAbsolutePath(FileUtilities.EnsureTrailingSlash(destinationDirectory.FullName)).GetCanonicalForm(); 308AbsolutePath fullDestinationPath = TaskEnvironment.GetAbsolutePath(Path.Combine(destinationDirectory.FullName, entryName)).GetCanonicalForm(); 441AbsolutePath fullTargetPath = TaskEnvironment.GetAbsolutePath(Path.Combine(destinationDirectory.FullName, linkName)).GetCanonicalForm();
Unzip.cs (2)
181AbsolutePath fullDestinationDirectoryPath = TaskEnvironment.GetAbsolutePath(FileUtilities.EnsureTrailingSlash(destinationDirectory.FullName)).GetCanonicalForm(); 192AbsolutePath fullDestinationPath = TaskEnvironment.GetAbsolutePath(Path.Combine(destinationDirectory.FullName, zipArchiveEntry.FullName)).GetCanonicalForm();
Microsoft.DotNet.Arcade.Sdk (1)
src\LocateDotNet.cs (1)
89DotNetPath = TaskEnvironment.GetAbsolutePath(Path.Combine(dotNetDir, fileName)).GetCanonicalForm();
Microsoft.DotNet.Build.Tasks.Templating (1)
GenerateFileFromTemplate.cs (1)
76AbsolutePath resolvedOutputPath = TaskEnvironment.GetAbsolutePath(OutputPath.Replace('\\', '/')).GetCanonicalForm();
Microsoft.DotNet.CMake.Sdk (4)
src\CMakeBuildMutex.cs (1)
59string directory = Path.Combine(taskEnvironment.GetAbsolutePath(path).GetCanonicalForm().Value, ".cmake");
src\GetCMakeArtifactsFromFileApi.cs (3)
164string normalizedSourceDir = TaskEnvironment.GetAbsolutePath(SourceDirectory).GetCanonicalForm().Value.Replace('\\', '/').TrimEnd('/'); 172dirSource = TaskEnvironment.GetAbsolutePath(dirSource).GetCanonicalForm().Value.Replace('\\', '/').TrimEnd('/'); 221fullPath = TaskEnvironment.GetAbsolutePath(fullPath).GetCanonicalForm();
Microsoft.DotNet.XliffTasks (3)
Tasks\GatherTranslatedSource.cs (1)
115dependentUpon = TaskEnvironment.GetAbsolutePath(Path.Combine(sourceDirectory, dependentUpon)).GetCanonicalForm();
Tasks\TranslateSource.cs (1)
46sourceDocument.RewriteRelativePathsToAbsolute(sourceAbsolutePath.GetCanonicalForm());
Tasks\UpdateXlf.cs (1)
50catch (FileNotFoundException fileNotFoundEx) when (fileNotFoundEx.FileName == absoluteXlfPath.GetCanonicalForm().Value)