40 references to NormalizePath
Microsoft.Build (29)
BackEnd\BuildManager\BuildManager.cs (1)
559_buildParameters.OutputResultsCacheFile = FileUtilities.NormalizePath("msbuild-cache");
BackEnd\BuildManager\BuildRequestData.cs (1)
138: this(targetsToBuild, hostServices, flags, FileUtilities.NormalizePath(projectFullPath)!)
BackEnd\BuildManager\CacheSerialization.cs (1)
31var fullPath = FileUtilities.NormalizePath(outputCacheFile);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
182string 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)
1038declaredProjects.Add(FileUtilities.NormalizePath(projectReferenceItem.EvaluatedInclude)); 1042declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.FullPath)); 1048var normalizedMSBuildProject = FileUtilities.NormalizePath(msbuildProject.ItemSpec);
BackEnd\Shared\ConfigurationMetadata.cs (2)
29_projectFullPath = FileUtilities.NormalizePath(configuration.ProjectFullPath); 46_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);
Definition\Project.cs (1)
1955projectFile = FileUtilities.NormalizePath(projectFile);
Definition\ProjectCollection.cs (1)
1166fileName = FileUtilities.NormalizePath(fileName);
Evaluation\Evaluator.cs (3)
1933FileUtilities.NormalizePath(Guid.NewGuid() + projectNameEnding); 2035FileUtilities.NormalizePath(EscapingUtilities.UnescapeAll(importExpressionEscapedItem)); 2090importFileUnescaped = FileUtilities.NormalizePath(importFileUnescaped);
Evaluation\Expander.cs (2)
1631value = FileUtilities.NormalizePath(elementLocation.File); 2511rootedPath = FileUtilities.NormalizePath(rootedPath);
FileUtilities.cs (4)
492return NormalizePath(Path.Combine(directory, file)); 498return NormalizePath(Path.Combine(paths)); 783string fullPath = NormalizePath(Path.Combine(currentDirectory, fileSpec)); 814path = 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)
418Assert.Equal(fullPath, FileUtilities.NormalizePath(Path.Combine(currentDirectory, filePath))); 432Assert.Equal(fullPath, FileUtilities.NormalizePath(Path.Combine(currentDirectory, filePath))); 460Assert.Null(FileUtilities.NormalizePath(String.Empty)); 469Assert.Null(FileUtilities.NormalizePath(@"\\")); 478Assert.Null(FileUtilities.NormalizePath(@"\\XXX\")); 487Assert.Equal(@"\\localhost", FileUtilities.NormalizePath(@"\\localhost")); 494Assert.Equal(@"\\localhost\share", FileUtilities.NormalizePath(@"\\localhost\share")); 501Assert.Equal(@"c:\abc\def", FileUtilities.NormalizePath(@"c:\abc\" + longPart + @"\..\def")); 530FileUtilities.NormalizePath(filePath); 542Assert.NotEqual("C:\\work\\sdk3\\artifacts\\tmp\\Debug\\SimpleNamesWi---6143883E\\NETFrameworkLibrary\\bin\\Debug\\net462\\NETFrameworkLibrary.dll", FileUtilities.NormalizePath(filePath));
Globbing\MSBuildGlob_Tests.cs (1)
362var rootedFixedDirectoryPart = Path.Combine(FileUtilities.NormalizePath(globRoot), fixedDirectoryPart);