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

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

Comments

Projects
None yet
1 participant
@vbfox
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 in 704d967 Dec 12, 2015

@vbfox

This comment has been minimized.

Show comment
Hide comment
@vbfox

vbfox Dec 12, 2015

Contributor

👍 perfect !

Contributor

vbfox commented Dec 12, 2015

👍 perfect !

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