1 write to ExecutablePath
Aspire.Hosting (1)
Dcp\Process\ProcessSpec.cs (1)
28ExecutablePath = executablePath;
20 references to ExecutablePath
Aspire.Hosting (3)
Dcp\Process\ProcessUtil.cs (3)
37? PathLookupHelper.ResolveExecutablePath(processSpec.ExecutablePath, processSpec.EnvironmentVariables) 38: processSpec.ExecutablePath; 156var message = $"Command {processSpec.ExecutablePath} {FormatProcessArgumentsForDisplay(processSpec)} returned non-zero exit code {process.ExitCode}";
Aspire.Hosting.Dotnet.Tests (3)
WslcDotnetPublishingTests.cs (3)
96Assert.Equal(KnownContainerRuntimes.Wslc, spec.ExecutablePath); 101Assert.Equal("dotnet", spec.ExecutablePath); 144Assert.Equal("dotnet", spec.ExecutablePath);
Aspire.Hosting.Go.Tests (1)
GoRunDebuggingTests.cs (1)
66Assert.Equal(command, probe.ExecutablePath);
Aspire.Hosting.Tests (13)
Publishing\WslcContainerRuntimeTests.cs (2)
56Assert.Equal("wslc", spec.ExecutablePath); 263Assert.All(runner.ProcessSpecs, spec => Assert.Equal("wslc", spec.ExecutablePath));
Utils\DotnetSdkVersionProviderTests.cs (4)
80Assert.Equal("dotnet", processSpec.ExecutablePath); 103Assert.Equal("custom-dotnet-host", Assert.Single(processRunner.ProcessSpecs).ExecutablePath); 151Assert.Equal("dotnet", processSpec.ExecutablePath); 201Assert.Equal("dotnet", processSpec.ExecutablePath);
WithProcessCommandTests.cs (7)
132Assert.Equal("export-command-executable", processSpec.ExecutablePath); 198Assert.Equal("options-callback-executable", processSpec.ExecutablePath); 280Assert.Equal("factory-command-executable", processSpec.ExecutablePath); 536Assert.Equal("test-command-1", processSpec.ExecutablePath); 541Assert.Equal("test-command-2", processSpec.ExecutablePath); 949Assert.Equal("test-command-name", processSpec.ExecutablePath); 1095Assert.Equal("export-executable", processSpec.ExecutablePath);