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.
Paket install does an update when there are complex framework restrictions (local & global)
Given this
paket.dependenciesfile:And this
paket.lockfile :Running
paket install:Produce the following
paketlock file :NLoghas been updated from4.2.1to4.2.2without reason.