cake-vscode
cake-vscode copied to clipboard
Fix IntelliSense not working sometimes when it cannot find the Cake .NET Global Tool
... Once https://github.com/cake-build/bakery/issues/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 https://github.com/cake-build/cake-rider/issues/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.