question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paket does not respect pre-release constraints

See original GitHub issue

Description

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:closed
  • Created 7 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
forkicommented, Jun 2, 2016

can you please retest?

0reactions
tronddcommented, Jun 5, 2016

Sorry! My mistake, I accidentally tested with an old version. Works like a charm.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found