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