29 references to GetCanonicalForm
Microsoft.Build.Framework (3)
MultiThreadedTaskEnvironmentDriver.cs (2)
76
_currentDirectory = value.
GetCanonicalForm
();
141
GetAbsolutePath(tempDirectory).
GetCanonicalForm
());
PathHelpers\AbsolutePath.cs (1)
132
/// un-normalized form; <see cref="
GetCanonicalForm
"/> is the single normalization step.
Microsoft.Build.Tasks.Core (18)
AssemblyDependency\ReferenceTable.cs (2)
489
reference.FullPath = _taskEnvironment.GetAbsolutePath(assemblyFileName).
GetCanonicalForm
();
1404
resolvedPath = FileUtilities.FixFilePath(_taskEnvironment.GetAbsolutePath(resolvedPath).
GetCanonicalForm
());
AssignTargetPath.cs (2)
70
TaskEnvironment.GetAbsolutePath(FileUtilities.EnsureTrailingSlash(RootFolder)).
GetCanonicalForm
();
131
TaskEnvironment.GetAbsolutePath(Files[i].ItemSpec).
GetCanonicalForm
();
Copy.cs (2)
1156
source.Path = source.Path.
GetCanonicalForm
();
1157
destination.Path = destination.Path.
GetCanonicalForm
();
ListOperators\FindUnderPath.cs (2)
70
TaskEnvironment.GetAbsolutePath(FileUtilities.FixFilePath(Path.ItemSpec)).
GetCanonicalForm
());
103
TaskEnvironment.GetAbsolutePath(FileUtilities.FixFilePath(item.ItemSpec)).
GetCanonicalForm
());
ManifestUtil\PathUtil.cs (1)
245
return new AbsolutePath(path, baseDirectory).
GetCanonicalForm
();
ManifestUtil\Util.cs (1)
428
key = ((string)taskEnvironment.GetAbsolutePath(item.ItemSpec).
GetCanonicalForm
()).ToUpperInvariant();
ResolveManifestFiles.cs (2)
526
var outputAssembliesMap = outputAssemblies.ToDictionary(p => (string)TaskEnvironment.GetAbsolutePath(p.ItemSpec).
GetCanonicalForm
(), StringComparer.OrdinalIgnoreCase);
538
string key = (string)TaskEnvironment.GetAbsolutePath(item.ItemSpec).
GetCanonicalForm
();
SystemState.cs (1)
622
AbsolutePath fullPath = taskEnvironment.GetAbsolutePath(Path.Combine(stateFileDirectory, relativePath)).
GetCanonicalForm
();
TaskEnvironmentExtensions.cs (1)
28
return absolutePath.
GetCanonicalForm
();
Untar.cs (2)
274
AbsolutePath fullDestinationDirectoryPath = TaskEnvironment.GetAbsolutePath(FileUtilities.EnsureTrailingSlash(destinationDirectory.FullName)).
GetCanonicalForm
();
286
AbsolutePath fullDestinationPath = TaskEnvironment.GetAbsolutePath(Path.Combine(destinationDirectory.FullName, entryName)).
GetCanonicalForm
();
Unzip.cs (2)
179
AbsolutePath fullDestinationDirectoryPath = TaskEnvironment.GetAbsolutePath(FileUtilities.EnsureTrailingSlash(destinationDirectory.FullName)).
GetCanonicalForm
();
190
AbsolutePath fullDestinationPath = TaskEnvironment.GetAbsolutePath(Path.Combine(destinationDirectory.FullName, zipArchiveEntry.FullName)).
GetCanonicalForm
();
Microsoft.DotNet.Arcade.Sdk (1)
src\LocateDotNet.cs (1)
87
DotNetPath = TaskEnvironment.GetAbsolutePath(Path.Combine(dotNetDir, fileName)).
GetCanonicalForm
();
Microsoft.DotNet.Build.Tasks.Templating (1)
GenerateFileFromTemplate.cs (1)
76
AbsolutePath resolvedOutputPath = TaskEnvironment.GetAbsolutePath(OutputPath.Replace('\\', '/')).
GetCanonicalForm
();
Microsoft.DotNet.CMake.Sdk (3)
src\GetCMakeArtifactsFromFileApi.cs (3)
112
string normalizedSourceDir = TaskEnvironment.GetAbsolutePath(SourceDirectory).
GetCanonicalForm
().Value.Replace('\\', '/').TrimEnd('/');
141
dirSource = TaskEnvironment.GetAbsolutePath(dirSource).
GetCanonicalForm
().Value.Replace('\\', '/').TrimEnd('/');
197
fullPath = TaskEnvironment.GetAbsolutePath(fullPath).
GetCanonicalForm
();
Microsoft.DotNet.XliffTasks (3)
Tasks\GatherTranslatedSource.cs (1)
115
dependentUpon = TaskEnvironment.GetAbsolutePath(Path.Combine(sourceDirectory, dependentUpon)).
GetCanonicalForm
();
Tasks\TranslateSource.cs (1)
46
sourceDocument.RewriteRelativePathsToAbsolute(sourceAbsolutePath.
GetCanonicalForm
());
Tasks\UpdateXlf.cs (1)
50
catch (FileNotFoundException fileNotFoundEx) when (fileNotFoundEx.FileName == absoluteXlfPath.
GetCanonicalForm
().Value)