update .net checks to use x64 dotnet path
This commit is contained in:
parent
8ec0353500
commit
cb5be47766
@ -33,7 +33,7 @@ public class Net8PreCheck : PreCheckBase
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var result = ProcessHelper.RunAndReadProcessOutputs("dotnet", "--list-runtimes");
|
var result = ProcessHelper.RunAndReadProcessOutputs(@"C:\Program Files\dotnet\dotnet.exe", "--list-runtimes");
|
||||||
|
|
||||||
if (!result.Succeeded)
|
if (!result.Succeeded)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ public class NetCore6PreCheck : PreCheckBase
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var result = ProcessHelper.RunAndReadProcessOutputs("dotnet", "--list-runtimes");
|
var result = ProcessHelper.RunAndReadProcessOutputs(@"C:\Program Files\dotnet\dotnet.exe", "--list-runtimes");
|
||||||
|
|
||||||
if (!result.Succeeded)
|
if (!result.Succeeded)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user