3 writes to DotNet
Aspire.Workload.Tests (3)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (3)
131
DotNet
= Path.Combine(sdkForWorkloadPath!, "dotnet");
134
DotNet
+= ".exe";
209
DotNet
= otherBuildEnvironment.DotNet;
6 references to DotNet
Aspire.Workload.Tests (6)
tests\Shared\WorkloadTesting\AspireProject.cs (2)
123
AppHostProcess.StartInfo = new ProcessStartInfo(_buildEnv.
DotNet
, processArguments)
139
_testOutput.WriteLine($"Starting the process: {_buildEnv.
DotNet
} {processArguments} in {AppHostProcess.StartInfo.WorkingDirectory}");
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
209
DotNet = otherBuildEnvironment.
DotNet
;
tests\Shared\WorkloadTesting\DotNetCommand.cs (1)
14
: base((buildEnv ?? BuildEnvironment.ForDefaultFramework).
DotNet
, _testOutput, label)
tests\Shared\WorkloadTesting\RunCommand.cs (2)
13
WithEnvironmentVariable("DOTNET_ROOT", Path.GetDirectoryName(_buildEnvironment.
DotNet
)!);
14
WithEnvironmentVariable("DOTNET_INSTALL_DIR", Path.GetDirectoryName(_buildEnvironment.
DotNet
)!);