[5.0.0-beta008, regression] resolving fails with funny version numbers
See original GitHub issue1 - 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:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This still doesn’t work after latest prerelease changes…
ok then that is, syntax wise, a non-issue. Now it would just need to work .=)