Closed ovatsus closed 4 years ago
Ionide-Paket hasn't been really touched at all in a while, I'll investigate.
I observed the same behaviour today. I have paket installed only as a dotnet global tool, and since this extension is over a year old I guess that's the most likely reason.
I am facing the same issue today. VSCode 1.41.1 and Ionide-Paket1.12.0
@piaste it looks like paket as dotnet global tool is not supported https://github.com/ionide/ionide-vscode-paket/blob/master/src/paket.fs#L47 because the code looks at certain locations without trying to guess is paket installed as global.
@Krzysztof-Cieslak probably the easiest workaround would be adding a new entry to potential directories as
%userprofile%/.dotnet/tools
for win$HOME/.dotnet/tools
for Linux/macOS
dotnet-tool-installso Ionide-Paket should start working :)
... @Krzysztof-Cieslak probably the easiest workaround would be adding a new entry to potential directories ...
How do I do that? Where should I add it? Somewhere in the preferences? Or in a environment path variable? Or somewhere else?
Thx
Fixed in 2.0
Describe the bug I hadn't used VSCode+Paket in a while, and we have a couple of small projects at work that just consist of a bunch of fsx files. We used to be able to just run Paket: Init from VSCode when opening the folder for the first time on a new machine (I've put that on README.txt files all over since most people that use these scripts aren't familiar with F# or Paket at all), but now Ionide gives this error on the current version:
Has the functionality to auto download paket int he background and use it been removed?
Environment (please complete the following information):