diff --git a/template/MyApplication/Properties/launchSettings.json b/template/MyApplication/Properties/launchSettings.json index 512adaf7..52643dcc 100644 --- a/template/MyApplication/Properties/launchSettings.json +++ b/template/MyApplication/Properties/launchSettings.json @@ -18,7 +18,9 @@ }, "MyApplication": { "commandName": "Executable", - "executablePath": "dotnet", + // If your dotnet executable is at a different location, or you're using Mac/Linux, + // you'll need to update the path to 'dotnet' here + "executablePath": "%ProgramW6432%\\dotnet\\dotnet.exe", "commandLineArgs": "blazor serve" } } diff --git a/template/MyApplication/Properties/sw-launchSettings.json b/template/MyApplication/Properties/sw-launchSettings.json index 3efed3cd..6cc34526 100644 --- a/template/MyApplication/Properties/sw-launchSettings.json +++ b/template/MyApplication/Properties/sw-launchSettings.json @@ -10,7 +10,9 @@ }, "MyApplication": { "commandName": "Executable", - "executablePath": "dotnet", + // If your dotnet executable is at a different location, or you're using Mac/Linux, + // you'll need to update the path to 'dotnet' here + "executablePath": "%ProgramW6432%\\dotnet\\dotnet.exe", "commandLineArgs": "blazor serve" } }