41 references to NormalizePath
Microsoft.Build (30)
BackEnd\BuildManager\BuildManager.cs (1)
552
_buildParameters.OutputResultsCacheFile = FileUtilities.
NormalizePath
("msbuild-cache");
BackEnd\BuildManager\BuildRequestData.cs (1)
145
: this(targetsToBuild, hostServices, flags, FileUtilities.
NormalizePath
(projectFullPath)!)
BackEnd\BuildManager\CacheSerialization.cs (1)
31
var fullPath = FileUtilities.
NormalizePath
(outputCacheFile);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
182
string pluginPath = FileUtilities.
NormalizePath
(Path.Combine(item.Project.Directory, item.EvaluatedInclude));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
353
projectFiles[i] = FileUtilities.
NormalizePath
(projectFiles[i]);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (3)
1034
declaredProjects.Add(FileUtilities.
NormalizePath
(projectReferenceItem.EvaluatedInclude));
1038
declaredProjects.Add(FileUtilities.
NormalizePath
(_taskExecutionHost.ProjectInstance.FullPath));
1044
var 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)
18
path = FileUtilities.
NormalizePath
(path)!;
Construction\ProjectRootElement.cs (3)
411
string newFullPath = FileUtilities.
NormalizePath
(value);
859
path = FileUtilities.
NormalizePath
(path);
916
path = FileUtilities.
NormalizePath
(path);
Construction\Solution\ProjectInSolution.cs (1)
190
_absolutePath = FileUtilities.
NormalizePath
(_absolutePath);
CoreCLRAssemblyLoader.cs (1)
56
fullPath = FileUtilities.
NormalizePath
(fullPath);
Definition\Project.cs (1)
1949
projectFile = FileUtilities.
NormalizePath
(projectFile);
Definition\ProjectCollection.cs (1)
1161
fileName = FileUtilities.
NormalizePath
(fileName);
Evaluation\Evaluator.cs (2)
2018
FileUtilities.
NormalizePath
(EscapingUtilities.UnescapeAll(importExpressionEscapedItem));
2073
importFileUnescaped = FileUtilities.
NormalizePath
(importFileUnescaped);
Evaluation\Expander.cs (2)
1625
value = FileUtilities.
NormalizePath
(elementLocation.File);
2505
rootedPath = FileUtilities.
NormalizePath
(rootedPath);
FileUtilities.cs (4)
471
return
NormalizePath
(Path.Combine(directory, file));
477
return
NormalizePath
(Path.Combine(paths));
762
string fullPath = EscapingUtilities.Escape(
NormalizePath
(Path.Combine(currentDirectory, fileSpec)));
787
path =
NormalizePath
(path);
Globbing\MSBuildGlob.cs (1)
180
globRoot = Strings.WeakIntern(FileUtilities.
NormalizePath
(globRoot).WithTrailingSlash());
Graph\ProjectGraphEntryPoint.cs (1)
34
ProjectFile = FileUtilities.
NormalizePath
(projectFile);
Instance\ProjectInstance.cs (1)
302
projectFile = FileUtilities.
NormalizePath
(projectFile);
Logging\LoggerDescription.cs (1)
61
loggerAssemblyFile = FileUtilities.
NormalizePath
(loggerAssemblyFile);
Microsoft.Build.Engine.UnitTests (11)
FileUtilities_Tests.cs (10)
419
Assert.Equal(fullPath, FileUtilities.
NormalizePath
(Path.Combine(currentDirectory, filePath)));
433
Assert.Equal(fullPath, FileUtilities.
NormalizePath
(Path.Combine(currentDirectory, filePath)));
461
Assert.Null(FileUtilities.
NormalizePath
(String.Empty));
470
Assert.Null(FileUtilities.
NormalizePath
(@"\\"));
479
Assert.Null(FileUtilities.
NormalizePath
(@"\\XXX\"));
488
Assert.Equal(@"\\localhost", FileUtilities.
NormalizePath
(@"\\localhost"));
495
Assert.Equal(@"\\localhost\share", FileUtilities.
NormalizePath
(@"\\localhost\share"));
502
Assert.Equal(@"c:\abc\def", FileUtilities.
NormalizePath
(@"c:\abc\" + longPart + @"\..\def"));
531
FileUtilities.
NormalizePath
(filePath);
543
Assert.NotEqual("C:\\work\\sdk3\\artifacts\\tmp\\Debug\\SimpleNamesWi---6143883E\\NETFrameworkLibrary\\bin\\Debug\\net462\\NETFrameworkLibrary.dll", FileUtilities.
NormalizePath
(filePath));
Globbing\MSBuildGlob_Tests.cs (1)
356
var rootedFixedDirectoryPart = Path.Combine(FileUtilities.
NormalizePath
(globRoot), fixedDirectoryPart);