Skip to content

Paket 5.212.0 doesn't extract packages copied from the dotnet Nuget fallback folder #3606

Closed

Description

@BillHally

Description

When a Nuget package is referenced which is available from C:\Program Files\dotnet\sdk\NuGetFallbackFolder, only the .nupkg file is copied to ~/.nuget/packages/<package>/<version> i.e. the package is not extracted.

Repro steps

  1. Reference a version of a Nuget package which is available in the dotnet NuGetFallbackFolder

  2. Run package restore

I've not created a repository or attached an archive for this issue, because which packages will show the issue depends on a user's own machine. For example, this paket.dependencies showed the issue on my machine:

source https://www.nuget.org/api/v2

nuget System.Composition 1.0.31

but it won't on a machine which already has that specific version of that package installed.

Expected behavior

The package should be copied from the Nuget fallback folder to the appropriate location in the user's Nuget packages folder and then extracted there.

Actual behavior

The package is copied to the appropriate location in the user's Nuget packages folder as expected, but is not extracted.

Known workarounds

Pin the version of Paket used to less than 5.212.0 e.g. add this to the top of the paket.dependencies file:

version 5.211.0

Activity

  1. forki commented on Jul 2, 2019

    @forki
    Member

    can you please retry with 5.213.0 which will be available in about 5min? thanks!

  2. reopened this on Jul 2, 2019
  3. BillHally commented on Jul 2, 2019

    @BillHally
    ContributorAuthor

    Yes, that fixed it - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions