-
Notifications
You must be signed in to change notification settings - Fork 528
Description
Description
There are situations where Paket will check for new versions of dependencies during paket install even though paket.dependencies and paket.lock are unchanged. A common example is when you have a dependency with only prerelease versions available (but not marked as prerelease) - paket will check every time to see if a release version has become available.
This is fine, but currently paket does not tell you why it is checking; this can be frustrating with large projects which suddenly become very slow to work with.
Repro steps
Install a package with only prerelease versions available. Do not mark it prerelease in paket.dependencies.
Run paket install again - paket will go and hit nuget.org with no apparent reason.
Expected behavior
Paket should display a message explaining what has happened, e.g.:
Running resolver for group Main since package MyPackage is a prerelease version;
specify an exact version or "prerelease" in paket.dependencies if you do not which to check for updates.
Actual behavior
The resolver runs, every time
Known workarounds
@forki tells you about this behaviour on Twitter 😛