ionide / ionide-vscode-paket

VS Code plugin for Paket
http://ionide.io
MIT License
41 stars 29 forks source link

Neither Paket nor its bootstrapper were found. It is suggested that you download the Paket boostrapper and save it as .paket/paket.exe #80

Closed ovatsus closed 4 years ago

ovatsus commented 4 years ago

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:

image

Has the functionality to auto download paket int he background and use it been removed?

Environment (please complete the following information):

Krzysztof-Cieslak commented 4 years ago

Ionide-Paket hasn't been really touched at all in a while, I'll investigate.

piaste commented 4 years ago

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.

101v commented 4 years ago

I am facing the same issue today. VSCode 1.41.1 and Ionide-Paket1.12.0

Andegawen commented 4 years ago

@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

so Ionide-Paket should start working :)

KingKnecht commented 4 years ago

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

Krzysztof-Cieslak commented 4 years ago

Fixed in 2.0