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.

[5.0.0-beta008, regression] resolving fails with funny version numbers

See original GitHub issue

1 - let the resolver try

source https://www.nuget.org/api/v2

framework: net461

nuget NETStandard.Library prerelease
nuget NETStandard.Library.NETFramework prerelease
Paket version 5.0.0-beta008
Resolving packages for group Main:
 - NETStandard.Library 2.0.0-preview1-25301-01
 - NETStandard.Library.NETFramework 2.0.0-preview1-25305-02
 - Microsoft.NETCore.Platforms 2.0.0-preview1-25305-02
 - NETStandard.Library 1.6.1
 - NETStandard.Library 1.6.1-preview1-24530-04
 - NETStandard.Library 1.6.0
 - NETStandard.Library 1.5.0-rc2-24027
Performance:
 - Resolver: 1 second (1 runs)
    - Runtime: 109 milliseconds
    - Runtime Paket 4 (estimated ~500ms respose*): 7 seconds
      * See http://stats.pingdom.com/aqicaf2upspo/1265300 for average response times.
    - Blocked (retrieving package versions): 842 milliseconds (8 times)
    - Blocked (retrieving package details): 207 milliseconds (7 times)
 - Average Request Time: 382 milliseconds
 - Number of Requests: 4
 - Runtime: 1 second
Paket failed with:
        There was a version conflict during package resolution.
  Resolved packages:
   - NETStandard.Library 1.5.0-rc2-24027
  Conflict detected:
   - Dependencies file requested package NETStandard.Library.NETFramework: >= 0
   - Available versions:
     - (2.0.0-preview1-25305-02, [https://www.nuget.org/api/v2])

  Please try to relax some conditions or resolve the conflict manually (see http://fsprojects.github.io/Paket/nuget-dependencies.html#Use-exactly-this-version-constraint).

2 - pinned

source https://www.nuget.org/api/v2

framework: net461

nuget NETStandard.Library == 2.0.0-preview1-25301-01
nuget NETStandard.Library.NETFramework == 2.0.0-preview1-25305-02

 Paket version 5.0.0-beta008
Resolving packages for group Main:
 - NETStandard.Library.NETFramework 2.0.0-preview1-25305-02
 - NETStandard.Library 2.0.0-preview1-25301-01
 - Microsoft.NETCore.Platforms 2.0.0-preview1-25305-02
Performance:
 - Resolver: 796 milliseconds (1 runs)
    - Runtime: 132 milliseconds
    - Runtime Paket 4 (estimated ~500ms respose*): 2 seconds
      * See http://stats.pingdom.com/aqicaf2upspo/1265300 for average response times.
    - Blocked (retrieving package details): 249 milliseconds (3 times)
    - Blocked (retrieving package versions): 414 milliseconds (1 times)
 - Average Request Time: 558 milliseconds
 - Number of Requests: 3
 - Runtime: 1 second
Paket failed with:
        There was a version conflict during package resolution.
  Resolved packages:
   - Microsoft.NETCore.Platforms 2.0.0-preview1-25305-02
   - NETStandard.Library 2.0.0-preview1-25301-01
   - NETStandard.Library.NETFramework 2.0.0-preview1-25305-02
  Conflict detected:
   - Dependencies file requested package NETStandard.Library: == 2.0.0-preview1-25301-01 (preview)
   - NETStandard.Library.NETFramework 2.0.0-preview1-25305-02 requested package NETStandard.Library: >= 2.0.0-preview1-25301-01

Note that the second case is extra bad - not only does the resolver fail, it also ignores the exactly this operator, which should override any conflicts.


Note that this is a regression, 4.8.6 can resolve it in both cases.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
matthidcommented, Jul 9, 2017

This still doesn’t work after latest prerelease changes…

1reaction
0x53Acommented, Jun 2, 2017

ok then that is, syntax wise, a non-issue. Now it would just need to work .=)

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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