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 install does an update when framework restriction are present #1305

Closed
vbfox opened this issue Dec 11, 2015 · 1 comment
Closed

Paket install does an update when framework restriction are present #1305

vbfox opened this issue Dec 11, 2015 · 1 comment

Comments

@vbfox
Copy link
Contributor

vbfox commented Dec 11, 2015

Paket install does an update when there are complex framework restrictions (local & global)

Given this paket.dependencies file:

framework: >= net40

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

nuget NLog framework: net40
nuget NLog.Contrib

And this paket.lock file :

 FRAMEWORK: >= NET40
NUGET
  remote: https://nuget.org/api/v2
  specs:
    NLog (4.2.1)
    NLog.Contrib (1.0.0.2)
      NLog (>= 2.1.0)

Running paket install :

c:\Code\paket_repro_install_update>paket install
Paket version 2.24.5.0
Resolving packages for group Main:
 - NLog.Contrib 1.0.0.2
 - NLog 4.2.2
Locked version resolution written to c:\Code\paket_repro_install_update\paket.lock
2 seconds - ready.

Produce the following paketlock file :

FRAMEWORK: >= NET40
NUGET
  remote: https://nuget.org/api/v2
  specs:
    NLog (4.2.2)
    NLog.Contrib (1.0.0.2)
      NLog (>= 2.1.0)

NLog has been updated from 4.2.1 to 4.2.2 without reason.

forki added a commit that referenced this issue Dec 12, 2015
forki added a commit that referenced this issue Dec 12, 2015
@forki forki closed this as completed in 704d967 Dec 12, 2015
@vbfox
Copy link
Contributor Author

vbfox commented Dec 12, 2015

👍 perfect !

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

1 participant