Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect conditional references created for group dependencies #1505
Case in point:
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:
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
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.