update .net checks to use x64 dotnet path

This commit is contained in:
IsWaffle 2024-03-24 20:52:19 -04:00
parent 8ec0353500
commit cb5be47766
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public class Net8PreCheck : PreCheckBase
try
{
var result = ProcessHelper.RunAndReadProcessOutputs("dotnet", "--list-runtimes");
var result = ProcessHelper.RunAndReadProcessOutputs(@"C:\Program Files\dotnet\dotnet.exe", "--list-runtimes");
if (!result.Succeeded)
{

View File

@ -33,7 +33,7 @@ public class NetCore6PreCheck : PreCheckBase
try
{
var result = ProcessHelper.RunAndReadProcessOutputs("dotnet", "--list-runtimes");
var result = ProcessHelper.RunAndReadProcessOutputs(@"C:\Program Files\dotnet\dotnet.exe", "--list-runtimes");
if (!result.Succeeded)
{