-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paket pack adds wrong prerelease dependency #2024
Comments
If you remove the prerelease in the deps file you will get:
which basically means > 0 (but not prerelease). 0.0.0-prerelease is actually ny design. What's wrong with it? |
So 0.0.0-prerelease will install any latest prerelease version, be it 2.0 or 3.0 or whatever? |
that's what I hope. yes |
I don't think it's good design. It works when installed with Paket but most consumers will use NuGet that comes with VS. With NuGet Package Manager the only way to install the desired version 2.0.0-prerelease is use the Dependency behavior to |
ok. but that's just Nuget being dumb. |
but that said: I thing we could change it to >= LOCKEDVERSION for prereleases this would make sense |
Description
When paket.lock includes a prerelease package
paket pack
command adds wrong dependency version to the .nupkg fileRepro steps
paket.dependencies
:paket.template
Repro here
Expected behavior
The reference should be
>= 2.0.0-barneyrubble
Actual behavior
Actual reference in .nupkg is listed as
<dependency id="Nancy" version="0.0.0-prerelease" />
Known workarounds
Adding these lines to
paket.template
solves the issueThe text was updated successfully, but these errors were encountered: