Skip to content

paket.lock cannot be created with local package source and specific configuration #317

Description

@Bomret

I have a rather weird problem using a local Nuget package source and a specific paket.dependencies:

My paket.dependencies:

source ./nugets

nuget Nancy.Owin 0.22.2

Note: The source ./nugets does not work. This needs to be substituted with the full path.

The nugets folder contains the following packages:

Microsoft.Owin.2.1.0.nupkg
Nancy.0.22.2.nupkg
Nancy.Owin.0.22.2.nupkg
Owin.1.0.nupkg

When I run paket with .paket\paket.exe install it tries to resolve all dependencies and fails with exploring OWIN 2.1.0. There is no version 2.1.0 for the Owin package and the references in the packages that depend on it are fine.

paket_issue

  • When I change the source to the official Nuget source, the dependencies are resolved fine. But the line exploring OWIN 2.1.0 is not there. Instead it only displays correctly exploring Owin 1.0.
  • Or I remove the Microsoft.Owin.2.1.0.nupkg from the nugets folder.

Fortunately I was able to create a small example that allows to reproduce this problem which can be found here.

Note: The source ./nugets does not work. This needs to be substituted with the full path before the run.cmd is run.

Activity

  1. forki commented on Oct 31, 2014

    @forki
    Member

    starting with the first issue: source ./nuget should work now (please check 0.11.9).

    I can also reproduce the other issue. Thanks for creating the repro sample.

  2. forki commented on Oct 31, 2014

    @forki
    Member

    fixed in 0.11.10

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