46 references to NormalizePath
Microsoft.Build (26)
BackEnd\BuildManager\BuildManager.cs (1)
599_buildParameters.OutputResultsCacheFile = FileUtilities.NormalizePath("msbuild-cache");
BackEnd\BuildManager\BuildRequestData.cs (1)
139: this(targetsToBuild, hostServices, flags, FileUtilities.NormalizePath(projectFullPath)!)
BackEnd\BuildManager\CacheSerialization.cs (1)
32var fullPath = FileUtilities.NormalizePath(outputCacheFile);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
183string pluginPath = FileUtilities.NormalizePath(Path.Combine(item.Project.Directory, item.EvaluatedInclude));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
356projectFiles[i] = FileUtilities.NormalizePath(projectFiles[i]);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
1061declaredProjects.Add(FileUtilities.NormalizePath(projectReferenceItem.EvaluatedInclude)); 1065declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.FullPath)); 1071var normalizedMSBuildProject = FileUtilities.NormalizePath(msbuildProject.ItemSpec);
BackEnd\Shared\ConfigurationMetadata.cs (2)
30_projectFullPath = FileUtilities.NormalizePath(configuration.ProjectFullPath); 47_projectFullPath = FileUtilities.NormalizePath(project.FullPath);
BuildCheck\Utilities\BuildCheckUtilities.cs (1)
18path = FileUtilities.NormalizePath(path)!;
Construction\ProjectRootElement.cs (3)
429string newFullPath = FileUtilities.NormalizePath(value); 889path = FileUtilities.NormalizePath(path); 946path = FileUtilities.NormalizePath(path);
Construction\Solution\ProjectInSolution.cs (1)
200_absolutePath = FileUtilities.NormalizePath(_absolutePath);
Definition\Project.cs (1)
1955projectFile = FileUtilities.NormalizePath(projectFile);
Definition\ProjectCollection.cs (1)
1223fileName = FileUtilities.NormalizePath(fileName);
Evaluation\Evaluator.cs (3)
1967FileUtilities.NormalizePath(Guid.NewGuid() + projectNameEnding); 2069FileUtilities.NormalizePath(EscapingUtilities.UnescapeAll(importExpressionEscapedItem)); 2124importFileUnescaped = FileUtilities.NormalizePath(importFileUnescaped);
Evaluation\Expander.cs (2)
1713value = FileUtilities.NormalizePath(elementLocation.File); 2705rootedPath = FileUtilities.NormalizePath(rootedPath);
Globbing\MSBuildGlob.cs (1)
181globRoot = Strings.WeakIntern(FileUtilities.NormalizePath(globRoot).WithTrailingSlash());
Graph\ProjectGraphEntryPoint.cs (1)
35ProjectFile = FileUtilities.NormalizePath(projectFile);
Instance\ProjectInstance.cs (1)
309projectFile = FileUtilities.NormalizePath(projectFile);
Logging\LoggerDescription.cs (1)
61loggerAssemblyFile = FileUtilities.NormalizePath(loggerAssemblyFile);
Microsoft.Build.Engine.UnitTests (1)
Globbing\MSBuildGlob_Tests.cs (1)
363var rootedFixedDirectoryPart = Path.Combine(FileUtilities.NormalizePath(globRoot), fixedDirectoryPart);
Microsoft.Build.Framework (4)
FileUtilities.cs (4)
675return NormalizePath(Path.Combine(directory, file)); 680return NormalizePath(Path.Combine(paths)); 994string fullPath = NormalizePath(Path.Combine(currentDirectory, fileSpec)); 1025path = NormalizePath(path);
Microsoft.Build.Framework.UnitTests (10)
FileUtilities_Tests.cs (10)
419Assert.Equal(fullPath, FileUtilities.NormalizePath(Path.Combine(currentDirectory, filePath))); 433Assert.Equal(fullPath, FileUtilities.NormalizePath(Path.Combine(currentDirectory, filePath))); 461Assert.Null(FileUtilities.NormalizePath(String.Empty)); 470Assert.Null(FileUtilities.NormalizePath(@"\\")); 479Assert.Null(FileUtilities.NormalizePath(@"\\XXX\")); 488Assert.Equal(@"\\localhost", FileUtilities.NormalizePath(@"\\localhost")); 495Assert.Equal(@"\\localhost\share", FileUtilities.NormalizePath(@"\\localhost\share")); 502Assert.Equal(@"c:\abc\def", FileUtilities.NormalizePath(@"c:\abc\" + longPart + @"\..\def")); 512FileUtilities.NormalizePath(filePath); 522Assert.Throws<ArgumentException>(() => FileUtilities.NormalizePath(filePath));
Microsoft.Build.Tasks.Core (5)
AppConfig\AppConfig.cs (1)
31appConfigFilePath = FileUtilities.NormalizePath(appConfigFilePath);
AssemblyDependency\HintPathResolver.cs (1)
48if (ResolveAsFile(FileUtilities.NormalizePath(hintPath), assemblyName, isPrimaryProjectReference, wantSpecificVersion, true, assembliesConsideredAndRejected))
AssemblyDependency\Reference.cs (1)
524_fullPath = FileUtilities.NormalizePath(_fullPath);
AssemblyDependency\ReferenceTable.cs (1)
1358resolvedPath = FileUtilities.NormalizePath(resolvedPath);
ResourceHandling\MSBuildResXReader.cs (1)
239FileUtilities.NormalizePath(resxFilename)),