... Once cake-build/bakery#125 is fixed.
It seems that in some scenarios the .NET Global Tool is installed and appears to be in the %PATH% but when you actually try to run it (e.g. via Process.Start) the OS can't find it for some reason.
I mentioned this issue before on Slack and recently @AndaBucsa reported a similar issue.
I also had a very similar issue with the Rider extension and @nils-a was able to fix it in cake-build/cake-rider#78 by searching for the .NET Tool in the expected installation path %USERPROFILE%\.dotnet\tools\ (Windows) and $HOME/.dotnet/tools/ (Unix-like), and we think the same fix could be applied to Bakery.
... Once cake-build/bakery#125 is fixed.
It seems that in some scenarios the .NET Global Tool is installed and appears to be in the
%PATH%but when you actually try to run it (e.g. viaProcess.Start) the OS can't find it for some reason.I mentioned this issue before on Slack and recently @AndaBucsa reported a similar issue.
I also had a very similar issue with the Rider extension and @nils-a was able to fix it in cake-build/cake-rider#78 by searching for the .NET Tool in the expected installation path
%USERPROFILE%\.dotnet\tools\(Windows) and$HOME/.dotnet/tools/(Unix-like), and we think the same fix could be applied to Bakery.