7 references to ShouldForwardProcessPathAsAspireCliPath
aspire (1)
DotNet\DotNetCliRunner.cs (1)
602
if (projectFile is null || env.ContainsKey("AspireCliPath") || string.IsNullOrWhiteSpace(processPath) || !
ShouldForwardProcessPathAsAspireCliPath
(processPath))
Aspire.Cli.Tests (6)
DotNet\DotNetCliRunnerTests.cs (6)
291
if (Environment.ProcessPath is { } processPath && DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(processPath))
316
Assert.False(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(cliPath));
333
Assert.False(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(linkPath));
344
Assert.False(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(dotnetPath));
357
Assert.True(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(cliPath));
373
Assert.True(DotNetCliRunner.
ShouldForwardProcessPathAsAspireCliPath
(cliPath));