94 references to ResolveToFilesystemPath
aspire (46)
Backchannel\AppHostPathComparer.cs (2)
44
PathNormalizer.
ResolveToFilesystemPath
(PathNormalizer.ResolveSymlinks(leftPath)),
45
PathNormalizer.
ResolveToFilesystemPath
(PathNormalizer.ResolveSymlinks(rightPath)));
Backchannel\AuxiliaryBackchannelMonitor.cs (2)
257
var normalizedWorkingDirectory = PathNormalizer.
ResolveToFilesystemPath
(workingDirectory);
258
var normalizedAppHostPath = PathNormalizer.
ResolveToFilesystemPath
(appHostPath);
Commands\AddCommand.cs (1)
552
[PathNormalizer.
ResolveToFilesystemPath
(candidate.TargetFile.FullName)] = candidate.OriginalContent?.ToArray()
Commands\AgentMcpCommand.cs (1)
151
_pinnedAppHostPath = PathNormalizer.
ResolveToFilesystemPath
(symlinkResolvedPath);
Commands\AppHostLauncher.cs (2)
510
var canonicalAppHostPath = PathNormalizer.
ResolveToFilesystemPath
(appHostPath);
747
PathNormalizer.
ResolveToFilesystemPath
(appHostInfo.AppHostPath),
Commands\ResourceCommand.cs (1)
707
var targetPath = PathNormalizer.
ResolveToFilesystemPath
(selectedAppHostProjectFile.FullName);
Commands\StopCommand.cs (2)
389
var canonicalAppHostPath = PathNormalizer.
ResolveToFilesystemPath
(appHostFile.FullName);
395
PathNormalizer.
ResolveToFilesystemPath
(connectionAppHostPath),
DotNet\DotNetAppHostNuGetConfigMerger.cs (2)
125
var targetPath = PathNormalizer.
ResolveToFilesystemPath
(targetFile.FullName);
128
PathNormalizer.
ResolveToFilesystemPath
(path), targetPath, StringComparisons.FileSystemPath));
DotNet\DotNetAppHostRestorePreview.cs (1)
183
=> $"('$(MSBuildProjectFullPath)' == '{MSBuildEscaping.Escape(path)}' Or '$(MSBuildProjectFullPath)' == '{MSBuildEscaping.Escape(PathNormalizer.
ResolveToFilesystemPath
(path))}')";
DotNet\DotNetAppHostUpdateTransaction.cs (3)
32
var paths = files.Select(static file => PathNormalizer.
ResolveToFilesystemPath
(file.FullName))
96
var paths = files.Select(static file => PathNormalizer.
ResolveToFilesystemPath
(file.FullName))
127
var path = PathNormalizer.
ResolveToFilesystemPath
(file.FullName);
Mcp\Tools\SelectAppHostTool.cs (2)
70
var canonicalPath = PathNormalizer.
ResolveToFilesystemPath
(displayPath);
110
PathNormalizer.
ResolveToFilesystemPath
(matchingConnection.AppHostInfo!.AppHostPath);
NuGet\BundleNuGetService.cs (4)
419
var targetPath = PathNormalizer.
ResolveToFilesystemPath
(targetFile.FullName);
421
PathNormalizer.
ResolveToFilesystemPath
(path), targetPath, StringComparisons.FileSystemPath));
449
PathNormalizer.
ResolveToFilesystemPath
(ancestor), PathNormalizer.
ResolveToFilesystemPath
(directory));
Projects\DotNetAppHostProject.cs (2)
2336
var configuredAppHostPath = PathNormalizer.
ResolveToFilesystemPath
(
2338
var selectedAppHostPath = PathNormalizer.
ResolveToFilesystemPath
(appHostFile.FullName);
Projects\IntegrationClosureBuilder.cs (2)
175
var integrationCacheFullPath = PathNormalizer.
ResolveToFilesystemPath
(integrationCacheDirectory.FullName);
176
var appHostFullPath = PathNormalizer.
ResolveToFilesystemPath
(appHostDirectory.FullName);
Projects\ProjectLocator.cs (12)
524
var settingsCanonicalPath = PathNormalizer.
ResolveToFilesystemPath
(settingsAppHost.FullName);
532
var candidateCanonicalPath = PathNormalizer.
ResolveToFilesystemPath
(candidate.AppHostFile.FullName);
664
PathNormalizer.
ResolveToFilesystemPath
(file.FullName),
665
PathNormalizer.
ResolveToFilesystemPath
(directory.FullName));
1191
: PathNormalizer.
ResolveToFilesystemPath
(settingsAppHost.FullName);
1198
PathNormalizer.
ResolveToFilesystemPath
(c.AppHostFile.FullName),
1229
PathNormalizer.
ResolveToFilesystemPath
(selectedAppHost.FullName),
1230
PathNormalizer.
ResolveToFilesystemPath
(settingsAppHost.FullName),
1246
var selectedAppHostCanonicalPath = PathNormalizer.
ResolveToFilesystemPath
(selectedAppHost.FullName);
1249
PathNormalizer.
ResolveToFilesystemPath
(f.FullName),
1277
var persistedCanonicalPath = PathNormalizer.
ResolveToFilesystemPath
(persistedPath);
1278
var selectedCanonicalPath = PathNormalizer.
ResolveToFilesystemPath
(selectedPath);
Projects\ProjectUpdater.cs (5)
48
var normalizedPath = PathNormalizer.
ResolveToFilesystemPath
(path);
249
PathNormalizer.
ResolveToFilesystemPath
(configurationCandidate.TargetFile.FullName),
608
var path = PathNormalizer.
ResolveToFilesystemPath
(file.FullName);
683
var projectPath = PathNormalizer.
ResolveToFilesystemPath
(projectFile.FullName);
684
var appHostProjectPath = PathNormalizer.
ResolveToFilesystemPath
(appHostProjectFile.FullName);
src\Shared\AppHostSocketManager.cs (2)
75
appHostId = BackchannelConstants.ComputeAppHostId(PathNormalizer.
ResolveToFilesystemPath
(appHostPath));
221
PathNormalizer.
ResolveToFilesystemPath
(appHostPath),
Aspire.Cli.Tests (48)
Backchannel\AppHostConnectionResolverTests.cs (2)
432
Assert.NotEqual(PathNormalizer.
ResolveToFilesystemPath
(differentlyCasedProjectPath), previousSocketKeyPath);
658
PathNormalizer.
ResolveToFilesystemPath
(appHostPath),
Backchannel\BackchannelConstantsTests.cs (4)
394
PathNormalizer.
ResolveToFilesystemPath
(projectFileViaSymlink),
398
Assert.Equal(PathNormalizer.
ResolveToFilesystemPath
(projectFileViaSymlink), socketKeyPaths[0]);
447
var resolvedViaSymlink = PathNormalizer.
ResolveToFilesystemPath
(projectFileViaSymlink);
448
var resolvedRealTarget = PathNormalizer.
ResolveToFilesystemPath
(realProjectPath);
Commands\AgentMcpCommandTests.cs (2)
1714
PathNormalizer.
ResolveToFilesystemPath
(PathNormalizer.ResolveSymlinks(appHostProjectFile.FullName)),
1747
PathNormalizer.
ResolveToFilesystemPath
(PathNormalizer.ResolveSymlinks(appHostProjectFile.FullName)),
Commands\AppHostLauncherTests.cs (7)
282
PathNormalizer.
ResolveToFilesystemPath
(harness.LocatedAppHostFile.FullName));
1417
var resolvedAppHostPath = PathNormalizer.
ResolveToFilesystemPath
(AppHostFile.FullName);
1848
PathNormalizer.
ResolveToFilesystemPath
("/tmp/AppHost.csproj"),
1864
PathNormalizer.
ResolveToFilesystemPath
("/tmp/AppHost.csproj"),
1882
PathNormalizer.
ResolveToFilesystemPath
("/tmp/AppHost.csproj"),
1900
PathNormalizer.
ResolveToFilesystemPath
("/tmp/AppHost.csproj"),
1912
PathNormalizer.
ResolveToFilesystemPath
("/tmp/AppHost.csproj"),
Commands\RestoreCommandTests.cs (2)
48
PathNormalizer.
ResolveToFilesystemPath
(appHostFile.FullName),
49
PathNormalizer.
ResolveToFilesystemPath
(capturedProjectFilePath));
Commands\UpdateCommandTests.cs (2)
132
PathNormalizer.
ResolveToFilesystemPath
(appHostProjectFile.FullName),
133
PathNormalizer.
ResolveToFilesystemPath
(updatedProjectFile.FullName));
DotNet\DotNetAppHostUpdateTransactionTests.cs (8)
29
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = await File.ReadAllBytesAsync(file.FullName)
56
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = original
89
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = await File.ReadAllBytesAsync(file.FullName)
119
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = await File.ReadAllBytesAsync(file.FullName)
150
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = original
178
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = original
214
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = original
237
[PathNormalizer.
ResolveToFilesystemPath
(file.FullName)] = original
Mcp\SelectAppHostToolTests.cs (3)
35
var canonicalPath = PathNormalizer.
ResolveToFilesystemPath
(displayPath);
101
Assert.Equal(PathNormalizer.
ResolveToFilesystemPath
(realAppHostPath), monitor.SelectedAppHostPath);
125
Assert.Equal(PathNormalizer.
ResolveToFilesystemPath
(actualAppHostPath), monitor.SelectedAppHostPath);
Projects\PrebuiltAppHostServerTests.cs (3)
1011
var normalizedWorkspaceRoot = PathNormalizer.
ResolveToFilesystemPath
(workspace.WorkspaceRoot.FullName);
1241
var normalizedWorkspaceRoot = PathNormalizer.
ResolveToFilesystemPath
(workspace.WorkspaceRoot.FullName);
1294
PathNormalizer.
ResolveToFilesystemPath
(
Projects\ProjectLocatorTests.cs (5)
60
Assert.Equal(PathNormalizer.
ResolveToFilesystemPath
(expected), PathNormalizer.
ResolveToFilesystemPath
(actual));
340
appHostProjectFiles.Select(appHostProjectFile => PathNormalizer.
ResolveToFilesystemPath
(appHostProjectFile.FullName)),
341
results.Select(result => PathNormalizer.
ResolveToFilesystemPath
(result.SelectedProjectFile!.FullName)));
1488
PathNormalizer.
ResolveToFilesystemPath
(linkedProjectFile.FullName),
Utils\PathNormalizerTests.cs (10)
52
PathNormalizer.
ResolveToFilesystemPath
(caseVariantPath));
71
PathNormalizer.
ResolveToFilesystemPath
(file.FullName));
84
Assert.Equal(expectedPath, PathNormalizer.
ResolveToFilesystemPath
(missingPath));
164
var resolved = PathNormalizer.
ResolveToFilesystemPath
(linkPath);
186
var resolved = PathNormalizer.
ResolveToFilesystemPath
(logicalPath);
203
var resolved = PathNormalizer.
ResolveToFilesystemPath
(missingPath);
232
PathNormalizer.
ResolveToFilesystemPath
(composedPath));
249
PathNormalizer.
ResolveToFilesystemPath
(alias));
274
PathNormalizer.
ResolveToFilesystemPath
(candidate));
299
Assert.Equal(uppercaseDrivePath, PathNormalizer.
ResolveToFilesystemPath
(lowercaseDrivePath));