fsprojects / Paket.VisualStudio

Manage your Paket (http://fsprojects.github.io/Paket/) dependencies from Visual Studio!
MIT License
147 stars 51 forks source link

Cannot locate .paket folder #152

Closed BlythMeister closed 6 years ago

BlythMeister commented 7 years ago

Description

Since recent update i get build error saying restore failed as the .paket folder cannot be located. It it looking 1 level too deep for the .paket folder.

Repro steps

Setup repo as follows:

| .paket |->| paket.exe |->| paket.bootstrapper.exe | src |->| MyProject |->|->| MyProject.csproj |->|->| MyProject.sln |->| MyOtherProject |->|->| MyOtherProject.csproj |->|->| MyOtherProject.sln |->| MyCombinedSolution.sln

When building from any of the 3 solutions it searches for the .paket folder under the src folder and not at the root of the repo.

Expected behavior

Paket is found and used

Actual behavior

packet is not found and errors

Known workarounds

put the .paket folder under the src folder

Related information

The getting started (https://fsprojects.github.io/Paket/getting-started.html) states to create at the root.

Yewridge commented 7 years ago

Hi, I've got 0.37.7 installed but am still seeing the above issue.

BlythMeister commented 7 years ago

@forki can you re-open this please, i am also still seeing this issue :(

Restoring packages Could not locate .paket\paket.exe and .paket\paket.bootstrapper.exe under the solution F:\GIT\MyRepo

the .paket folder is under the MyRepo folder

forki commented 7 years ago

Please send a pull request

BlythMeister commented 7 years ago

i can try ;)

forki commented 7 years ago

Thanks

Am 20.10.2017 17:21 schrieb "Chris Blyth" notifications@github.com:

i can try ;)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/fsprojects/Paket.VisualStudio/issues/152#issuecomment-338237835, or mute the thread https://github.com/notifications/unsubscribe-auth/AADgNBq_j6ix0kBBQRUaQl0n1muqfTZ_ks5suLpwgaJpZM4P7vhV .

BlythMeister commented 6 years ago

Tested and this and it now works!