fsprojects / Paket

A dependency manager for .NET with support for NuGet packages and Git repositories.
https://fsprojects.github.io/Paket/
MIT License
2.02k stars 524 forks source link

No change to project when using paket add in dotnet core on Mac OSX #2691

Open wooderz opened 7 years ago

wooderz commented 7 years ago

Added my .paket folder, downloaded paket.bootstrapper.exe and renamed to paket.exe. Ran

mono ./.paket/paket.exe init.

All successful, then ran

mono ./.paket/paket.exe add IdentityServer4 --project Http

and it returned successful, lastly ran dotnet restore but the packages haven't been added to my project.

I'm sure it's me, but what am I doing wrong?

Edit: Here's my Solution folder.

Auth Service.zip

matthid commented 7 years ago

before restore will restore packages you usually need to install or update

wooderz commented 7 years ago

So whereas befor an add was enough, now you need to add then install?

matthid commented 7 years ago

Ah wait I think I have misread that, yes it might be related to the newly introduced cache (ie an regression)

wooderz commented 7 years ago

Okay what do you need from me, I'd much rather use Paket than go back to Nuget, but the project starts in earnest on Monday so need to know which way to go :(

matthid commented 7 years ago

Well this should work again considering we unlisted 5.92.... As this is OSS I can't promise anything but I hope I can take a look at this when doing 5.92.1 (next days) because I think it's related to the new cache.

matthid commented 7 years ago

@wooderz I cannot reproduce this with your repro. When I type paket add ... paket adds the reference to the project, and updates the lockfile...