Skip to content

Fix IntelliSense not working sometimes when it cannot find the Cake .NET Global Tool #509

@augustoproiete

Description

@augustoproiete

... 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions