3 writes to DotNet
Aspire.Workload.Tests (3)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (3)
165
DotNet
= Path.Combine(sdkForWorkloadPath!, "dotnet");
168
DotNet
+= ".exe";
254
DotNet
= otherBuildEnvironment.DotNet;
7 references to DotNet
Aspire.Workload.Tests (7)
tests\Shared\WorkloadTesting\AspireProject.cs (2)
161
AppHostProcess.StartInfo = new ProcessStartInfo(_buildEnv.
DotNet
, processArguments)
177
_testOutput.WriteLine($"Starting the process: {_buildEnv.
DotNet
} {processArguments} in {AppHostProcess.StartInfo.WorkingDirectory}");
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
254
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
)!);
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (1)
77
dotnet: buildEnvironment.
DotNet
);