17 references to ResolvedExecutablePath
Aspire.Hosting.Tests (11)
Dcp\ProcessCaptureTests.cs (5)
34
var result = await runner.RunAndCaptureTextAsync(DotnetFileAppProcess.
ResolvedExecutablePath
,
53
var result = await new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.
ResolvedExecutablePath
,
87
var result = await new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.
ResolvedExecutablePath
,
111
var result = await new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.
ResolvedExecutablePath
,
163
var capture = new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.
ResolvedExecutablePath
,
Dcp\ProcessUtilTests.cs (2)
156
var dotnetPath = DotnetFileAppProcess.
ResolvedExecutablePath
;
231
var spec = new ProcessSpec(DotnetFileAppProcess.
ResolvedExecutablePath
)
MSBuildTests.cs (1)
1310
var dotnetPath = DotnetFileAppProcess.
ResolvedExecutablePath
;
Publishing\ResourceContainerImageManagerTests.cs (2)
1663
var probe = new ProcessSpec(DotnetFileAppProcess.
ResolvedExecutablePath
)
1737
var probe = new ProcessSpec(DotnetFileAppProcess.
ResolvedExecutablePath
)
WithProcessCommandTests.cs (1)
1568
.WithProcessCommand("wait", "Wait", _ => new ProcessCommandSpec(DotnetFileAppProcess.
ResolvedExecutablePath
)
Aspire.Hosting.TestUtilities (6)
Utils\DotnetFileAppProcess.cs (6)
51
var (pending, disposable) = ProcessUtil.Run(new ProcessSpec(
ResolvedExecutablePath
)
66
? (
ResolvedExecutablePath
, [assemblyPath, exitCode])
67
: ("/bin/sh", ["-c", """exec 0</dev/null; exec "$@" """, "reject-input",
ResolvedExecutablePath
, assemblyPath, exitCode]);
126
var (pending, disposable) = ProcessUtil.Run(new ProcessSpec(
ResolvedExecutablePath
)
138
? (
ResolvedExecutablePath
, [assemblyPath, mode, pipeName, exitCode.ToString()])
140
: ("/bin/sh", ["-c", """exec 0</dev/null; exec "$@" """, "hold-streams",
ResolvedExecutablePath
, assemblyPath, mode, pipeName, exitCode.ToString()]);