Paket does not respect pre-release constraints
See original GitHub issueDescription
The pre-release constraints does not work as described by the documentation
Repro steps
Use the following paket.dependencies
file to reproduce the problem.
// Using paket version 2.66.6.0
source https://www.nuget.org/api/v2
// This installs the last release version
//nuget Paket
// ==> paket.lock
//NUGET
// remote: https://www.nuget.org/api/v2
// specs:
// Paket (2.66.6)
// This should not install the pre-release version
// nuget Paket >= 3
// paket.lock
// NUGET
// remote: https://www.nuget.org/api/v2
// specs:
// Paket (3.0.0-beta060)
// This should install the rc, but not the beta version
nuget Paket >= 3 rc
// paket.lock
// NUGET
// remote: https://www.nuget.org/api/v2
// specs:
// Paket (3.0.0-beta060)
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Prerelease packages won't used during resolving #2471
Description I have two packages A and B and the package A has a dependency on B. My dependency file looks like source...
Read more >The paket.dependencies file
Framework restrictions. Sometimes you do not want to generate dependencies for other .NET Framework versions than the ones your projects use.
Read more >In a paket.dependencies file, what is the meaning of ...
I'll try to explain it with an example. Imagine that you depend on packages A & B. Both A and B depend on...
Read more >NuGet Package Version Reference
Version ranges in PackageReference include pre-release versions. By design, floating versions do not resolve prerelease versions unless opted ...
Read more >Paramulate 1.0.0-beta4
Consistency without constraint: Paramulate encourages consistency, but doesn't force a dependency. Example. Given the code: public interface ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
can you please retest?
Sorry! My mistake, I accidentally tested with an old version. Works like a charm.