dotnetcore/FlubuCore

dotnet command is not working when full path to dotnet executable is not found

mzorec opened this issue · 0 comments

dotnet command is not working when executing it with RunProgramTask.
It works when full path of the dotnet executable is found but not when it is executed as command dotnet.

This can be reproduced on GitHub actions on mac os.

There are 2 possible solutions:

  1. Fix the bug in Dotnet.Cli.Utils package so that the CommandFactory will prepare dotnet command correctly.
  2. Improve locating of dotnet executable in FlubuCore. Maybe parse location from dotnet --info output.