-
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
Incorrect conditional references created for group dependencies #1505
Comments
This is pure speculation before looking at any code, but is it possible that targetFramework parsing is inconsistent with NuGet parsing? Notice in the nuspec that |
could you please retry? thx |
No improvement after |
Are you sure? Did you try to run "paket update -f"?
|
Ah, ok it fixes it when I do update -f, but then puts bcl back when I then do a straight update thereafter |
really? just to make sure there is no cache issue. Can you please run paket clear-cache and try the update again? |
Thank you. Yes, it must have been a cache issue... I have 2 sources defined & -f was consistently only refreshing one of them, straight update must have been using the other - which is odd in itself, but possibly coincidental. |
Case in point:
NuGet package EasyNetQ v0.53.6.419 has the following nuspec dependency list:
The desired behaviour is that framework >= net45 should NOT need the references to Microsoft.Bcl.*; everything else should.
Given my paket.dependencies contains:
Paket v2.51.7 incorrectly creates the following reference conditionals in the project file, which are exactly inverted:
paket.lock also incorrectly contains:
For completeness, the project file also correctly contains:
The text was updated successfully, but these errors were encountered: