20 references to PathNormalizer
Aspire.Hosting (10)
DistributedApplicationBuilder.cs (1)
333
?
PathNormalizer
.ResolvePathCasing(Path.GetFullPath(appHostFilePath!))
ExecutableResourceBuilderExtensions.cs (2)
61
workingDirectory =
PathNormalizer
.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, workingDirectory));
233
workingDirectory =
PathNormalizer
.NormalizePathForCurrentPlatform(Path.Combine(builder.ApplicationBuilder.AppHostDirectory, workingDirectory));
ProjectResourceBuilderExtensions.cs (2)
319
projectPath =
PathNormalizer
.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, projectPath));
416
path =
PathNormalizer
.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, path));
src\Shared\AppHostSocketManager.cs (3)
75
appHostId = BackchannelConstants.ComputeAppHostId(
PathNormalizer
.ResolveToFilesystemPath(appHostPath));
196
PathNormalizer
.ResolveToFilesystemPath(appHostPath),
197
PathNormalizer
.ResolveSymlinks(appHostPath),
Utils\DotnetSdkUtils.cs (2)
32
var physicalWorkingDirectory =
PathNormalizer
.ResolveSymlinks(Path.GetFullPath(workingDirectory));
38
return
PathNormalizer
.ResolveToFilesystemPath(globalJsonPath);
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
1599
var expectedWorkingDirectory =
PathNormalizer
.NormalizePathForCurrentPlatform(
1625
var expectedWorkingDirectory =
PathNormalizer
.NormalizePathForCurrentPlatform(
Aspire.Hosting.Tests (6)
Backchannel\AuxiliaryBackchannelTests.cs (2)
674
var canonicalPath =
PathNormalizer
.ResolveToFilesystemPath(appHostFileViaSymlink);
707
var canonicalPath =
PathNormalizer
.ResolveToFilesystemPath(appHostFile.FullName);
DistributedApplicationBuilderTests.cs (2)
563
var previousIdentityPath =
PathNormalizer
.ResolvePathCasing(Path.GetFullPath(appHostPathViaSymlink));
566
Assert.NotEqual(
PathNormalizer
.ResolveToFilesystemPath(appHostPathViaSymlink), previousIdentityPath);
ExecutableResourceBuilderExtensionTests.cs (2)
29
var expectedPath =
PathNormalizer
.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, workingDirectory));
56
var expectedPath =
PathNormalizer
.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, workingDirectory));
Aspire.Hosting.TestUtilities (2)
Utils\TestPathNormalizer.cs (2)
18
/// <inheritdoc cref="
PathNormalizer
.ResolveSymlinks(string)"/>
19
public static string ResolveSymlinks(string path) =>
PathNormalizer
.ResolveSymlinks(path);