Skip to content

Commit

Permalink
Workaround for new limitation in dotnet tooling (seems executablePath…
Browse files Browse the repository at this point in the history
… now has to be absolute)
  • Loading branch information
SteveSanderson committed Nov 6, 2017
1 parent 594307c commit bacb732
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion template/MyApplication/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down
4 changes: 3 additions & 1 deletion template/MyApplication/Properties/sw-launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit bacb732

Please sign in to comment.