26 references to PathLookupHelper
aspire (22)
Acquisition\InstallationDiscovery.cs (1)
439foreach (var candidate in PathLookupHelper.FindAllFullPathsFromPath("aspire"))
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (1)
21var executablePath = PathLookupHelper.FindFullPathFromPath("claude");
Agents\Copilot\CopilotCliRunner.cs (1)
21var executablePath = PathLookupHelper.FindFullPathFromPath("copilot");
Agents\OpenCode\OpenCodeCliRunner.cs (1)
21var executablePath = PathLookupHelper.FindFullPathFromPath("opencode");
Agents\Playwright\PlaywrightCliRunner.cs (2)
18var executablePath = PathLookupHelper.FindFullPathFromPath("playwright-cli"); 72var executablePath = PathLookupHelper.FindFullPathFromPath("playwright-cli");
Agents\VsCode\VsCodeCliRunner.cs (1)
22var executablePath = PathLookupHelper.FindFullPathFromPath(command);
Certificates\CertificateGeneration\UnixCertificateManager.cs (1)
610if (PathLookupHelper.TryResolveExecutablePath(command, out _, environmentVariables))
DotNet\DotNetSdkInstaller.cs (1)
115PathLookupHelper.ResolveExecutablePath(environment.IsWindows() ? "dotnet.exe" : "dotnet");
Git\GitCommandRunner.cs (1)
273if (!PathLookupHelper.TryResolveExecutablePath(executable, out var resolved, pathEnvironment))
Npm\NpmRunner.cs (1)
29private readonly Lazy<string?> _npmPath = new(() => PathLookupHelper.FindFullPathFromPath("npm"));
Projects\ExtensionGuestLauncher.cs (1)
48if (!PathLookupHelper.TryResolveExecutablePath(command, out var resolvedCommand, effectiveEnvironmentVariables))
Projects\ProcessGuestLauncher.cs (1)
55if (!PathLookupHelper.TryResolveExecutablePath(command, out var resolvedCommand, effectiveEnvironmentVariables))
Scaffolding\ScaffoldingService.cs (1)
462var runtime = new GuestRuntime(runtimeSpec, _logger, PathLookupHelper.FindFullPathFromPath, _environment, _profilingTelemetry, _processExecutionFactory);
src\Shared\CommandPathResolver.cs (1)
32return TryResolveCommand(command, PathLookupHelper.FindFullPathFromPath, out resolvedCommand, out errorMessage);
Utils\CliPathHelper.cs (1)
286/// <see cref="PathLookupHelper"/>, NuGet's <c>packageSourceMapping</c>
Utils\EnvironmentChecker\DevCertsCheck.cs (2)
234PathLookupHelper.TryResolveExecutablePath(OpenSslCommand, out var openSslPath, environmentVariables); 500if (PathLookupHelper.TryResolveExecutablePath(CertificateHelpers.CertUtilCommand, out _, environmentVariables))
Utils\EnvironmentChecker\GoAppHostToolingCheck.cs (1)
58PathLookupHelper.FindFullPathFromPath,
Utils\EnvironmentChecker\TypeScriptAppHostToolingCheck.cs (1)
40PathLookupHelper.FindFullPathFromPath,
Utils\EnvironmentChecker\VsCodeExtensionCheck.cs (2)
36: this(environment, executionContext, PathLookupHelper.FindFullPathFromPath) 101=> Detect(environment, homeDirectory, PathLookupHelper.FindFullPathFromPath);
Aspire.Cli.Tests (4)
Git\GitCommandRunnerTests.Authentication.cs (3)
280var ssh = PathLookupHelper.ResolveExecutablePath("ssh"); 305File.CreateSymbolicLink(ssh, PathLookupHelper.ResolveExecutablePath("ssh")); 345Assert.False(PathLookupHelper.TryResolveExecutablePath("ssh", out _, new Dictionary<string, string>
Projects\GuestRuntimeTests.cs (1)
999var resolvedDotNet = PathLookupHelper.ResolveExecutablePath("dotnet");