38 references to NormalizePath
Microsoft.Build (27)
BackEnd\BuildManager\BuildManager.cs (1)
563_buildParameters.OutputResultsCacheFile = FileUtilities.NormalizePath("msbuild-cache");
BackEnd\BuildManager\BuildRequestData.cs (1)
222ProjectFullPath = 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)
352projectFiles[i] = FileUtilities.NormalizePath(projectFiles[i]);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
1036declaredProjects.Add(FileUtilities.NormalizePath(projectReferenceItem.EvaluatedInclude)); 1040declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.FullPath)); 1046var normalizedMSBuildProject = FileUtilities.NormalizePath(msbuildProject.ItemSpec);
BackEnd\Shared\ConfigurationMetadata.cs (2)
29_projectFullPath = FileUtilities.NormalizePath(configuration.ProjectFullPath); 46_projectFullPath = FileUtilities.NormalizePath(project.FullPath);
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)
1146fileName = FileUtilities.NormalizePath(fileName);
Evaluation\Evaluator.cs (2)
2083FileUtilities.NormalizePath(EscapingUtilities.UnescapeAll(importExpressionEscapedItem)); 2138importFileUnescaped = FileUtilities.NormalizePath(importFileUnescaped);
Evaluation\Expander.cs (2)
1615value = FileUtilities.NormalizePath(elementLocation.File); 2497rootedPath = 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)
300projectFile = 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);