Skip to content

Paket 6.0.6 does not correctly install packages #4075

@yaakov-h

Description

@yaakov-h

Description

Paket v6.0.6 seems to be sometimes unpacking packages one directory too high in the filesystem hierarchy, which results in build-time warnings from .NET.

I did not see this behaviour under any previous version of Paket up to and including v6.0.0-beta8.

Steps to Reproduce

I wish I knew, I can't get this to repro on demand.

The steps I took when this happened twice were to take an existing repo using Paket 5.x, update it to Paket 6.0.6, and add new net5.0 build targets (the repos did not previously target net5.0, only net472, netstandard2.0, and netstandard2.1).

The Paket groups have storage: none defined.

Expected behavior

Paket installs packages as done previously and as done by NuGet. There are no new build warnings in my project.

Actual behavior

image

Errors from MSBuild:

warning Undefined: The folder 'C:\Users\yaakov.smith\.nuget\packages\system.reflection.typeextensions\lib' contains an invalid version.
warning Undefined: The folder 'C:\Users\yaakov.smith\.nuget\packages\system.reflection.typeextensions\ref' contains an invalid version.
warning Undefined: The folder 'C:\Users\yaakov.smith\.nuget\packages\system.reflection.typeextensions\runtimes' contains an invalid version.

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