7 references to ShouldForwardProcessPathAsAspireCliPath
aspire (1)
DotNet\DotNetCliRunner.cs (1)
647
if (projectFile is null || env.ContainsKey("AspireCliPath") || string.IsNullOrWhiteSpace(processPath) || !
ShouldForwardProcessPathAsAspireCliPath
(processPath))
Aspire.Cli.Tests (6)
DotNet\DotNetCliRunnerTests.cs (6)
756
if (Environment.ProcessPath is { } processPath && DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(processPath))
781
Assert.False(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(cliPath));
798
Assert.False(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(linkPath));
809
Assert.False(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(dotnetPath));
822
Assert.True(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(cliPath));
838
Assert.True(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(cliPath));