39 references to NormalizePath
Microsoft.Build (28)
BackEnd\BuildManager\BuildManager.cs (1)
551_buildParameters.OutputResultsCacheFile = FileUtilities.NormalizePath("msbuild-cache");
BackEnd\BuildManager\BuildRequestData.cs (1)
145: this(targetsToBuild, hostServices, flags, FileUtilities.NormalizePath(projectFullPath)!)
BackEnd\BuildManager\CacheSerialization.cs (1)
31var fullPath = FileUtilities.NormalizePath(outputCacheFile);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
181string pluginPath = FileUtilities.NormalizePath(Path.Combine(item.Project.Directory, item.EvaluatedInclude));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
353projectFiles[i] = FileUtilities.NormalizePath(projectFiles[i]);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
1034declaredProjects.Add(FileUtilities.NormalizePath(projectReferenceItem.EvaluatedInclude)); 1038declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.FullPath)); 1044var normalizedMSBuildProject = FileUtilities.NormalizePath(msbuildProject.ItemSpec);
BackEnd\Shared\ConfigurationMetadata.cs (2)
29_projectFullPath = FileUtilities.NormalizePath(configuration.ProjectFullPath); 46_projectFullPath = FileUtilities.NormalizePath(project.FullPath);
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
82path = FileUtilities.NormalizePath(path);
Construction\ProjectRootElement.cs (3)
411string newFullPath = FileUtilities.NormalizePath(value); 859path = FileUtilities.NormalizePath(path); 916path = FileUtilities.NormalizePath(path);
Definition\Project.cs (1)
1949projectFile = FileUtilities.NormalizePath(projectFile);
Definition\ProjectCollection.cs (1)
1161fileName = FileUtilities.NormalizePath(fileName);
Evaluation\Evaluator.cs (2)
2018FileUtilities.NormalizePath(EscapingUtilities.UnescapeAll(importExpressionEscapedItem)); 2073importFileUnescaped = FileUtilities.NormalizePath(importFileUnescaped);
Evaluation\Expander.cs (2)
1625value = FileUtilities.NormalizePath(elementLocation.File); 2505rootedPath = FileUtilities.NormalizePath(rootedPath);
FileUtilities.cs (4)
471return NormalizePath(Path.Combine(directory, file)); 477return NormalizePath(Path.Combine(paths)); 762string fullPath = EscapingUtilities.Escape(NormalizePath(Path.Combine(currentDirectory, fileSpec))); 787path = NormalizePath(path);
Globbing\MSBuildGlob.cs (1)
180globRoot = Strings.WeakIntern(FileUtilities.NormalizePath(globRoot).WithTrailingSlash());
Graph\ProjectGraphEntryPoint.cs (1)
34ProjectFile = FileUtilities.NormalizePath(projectFile);
Instance\ProjectInstance.cs (1)
302projectFile = FileUtilities.NormalizePath(projectFile);
Logging\LoggerDescription.cs (1)
61loggerAssemblyFile = FileUtilities.NormalizePath(loggerAssemblyFile);
Microsoft.Build.Engine.UnitTests (11)
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")); 531FileUtilities.NormalizePath(filePath); 543Assert.NotEqual("C:\\work\\sdk3\\artifacts\\tmp\\Debug\\SimpleNamesWi---6143883E\\NETFrameworkLibrary\\bin\\Debug\\net462\\NETFrameworkLibrary.dll", FileUtilities.NormalizePath(filePath));
Globbing\MSBuildGlob_Tests.cs (1)
356var rootedFixedDirectoryPart = Path.Combine(FileUtilities.NormalizePath(globRoot), fixedDirectoryPart);