7 references to ShouldForwardProcessPathAsAspireCliPath
aspire (1)
DotNet\DotNetCliRunner.cs (1)
614if (projectFile is null || env.ContainsKey("AspireCliPath") || string.IsNullOrWhiteSpace(processPath) || !ShouldForwardProcessPathAsAspireCliPath(processPath))
Aspire.Cli.Tests (6)
DotNet\DotNetCliRunnerTests.cs (6)
323if (Environment.ProcessPath is { } processPath && DotNetCliRunner.ShouldForwardProcessPathAsAspireCliPath(processPath)) 348Assert.False(DotNetCliRunner.ShouldForwardProcessPathAsAspireCliPath(cliPath)); 365Assert.False(DotNetCliRunner.ShouldForwardProcessPathAsAspireCliPath(linkPath)); 376Assert.False(DotNetCliRunner.ShouldForwardProcessPathAsAspireCliPath(dotnetPath)); 389Assert.True(DotNetCliRunner.ShouldForwardProcessPathAsAspireCliPath(cliPath)); 405Assert.True(DotNetCliRunner.ShouldForwardProcessPathAsAspireCliPath(cliPath));