Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Bomret opened this issue Oct 31, 2014 · 2 comments

Comments

@Bomret
Copy link
Contributor

Bomret commented Oct 31, 2014

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.

@forki
Copy link
Member

forki commented Oct 31, 2014

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.

@forki forki closed this as completed in e61f4f4 Oct 31, 2014
@forki
Copy link
Member

forki commented Oct 31, 2014

fixed in 0.11.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants