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