From bacb73276d05d4cc06f5f24041eb8484d1ca1e7d Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Sun, 5 Nov 2017 18:39:50 -0800 Subject: [PATCH] Workaround for new limitation in dotnet tooling (seems executablePath now has to be absolute) --- template/MyApplication/Properties/launchSettings.json | 4 +++- template/MyApplication/Properties/sw-launchSettings.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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" } }