18 references to PathNormalizer
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (1)
331? PathNormalizer.ResolvePathCasing(Path.GetFullPath(appHostFilePath!))
ExecutableResourceBuilderExtensions.cs (2)
59workingDirectory = PathNormalizer.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, workingDirectory)); 218workingDirectory = 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)
74appHostId = BackchannelConstants.ComputeAppHostId(PathNormalizer.ResolveToFilesystemPath(appHostPath)); 196PathNormalizer.ResolveToFilesystemPath(appHostPath), 197PathNormalizer.ResolveSymlinks(appHostPath),
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
1599var expectedWorkingDirectory = PathNormalizer.NormalizePathForCurrentPlatform( 1625var expectedWorkingDirectory = PathNormalizer.NormalizePathForCurrentPlatform(
Aspire.Hosting.Tests (6)
Backchannel\AuxiliaryBackchannelTests.cs (2)
642var canonicalPath = PathNormalizer.ResolveToFilesystemPath(appHostFileViaSymlink); 675var canonicalPath = PathNormalizer.ResolveToFilesystemPath(appHostFile.FullName);
DistributedApplicationBuilderTests.cs (2)
562var previousIdentityPath = PathNormalizer.ResolvePathCasing(Path.GetFullPath(appHostPathViaSymlink)); 565Assert.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);