fsprojects / Paket

A dependency manager for .NET with support for NuGet packages and Git repositories.
https://fsprojects.github.io/Paket/
MIT License
1.99k stars 520 forks source link

Paket is trapped in an infinite loop when resolving (Microsoft.Data.SqlClient 5.0.1) with [strategy: min]. #4263

Open HenryZhang-ZHY opened 1 week ago

HenryZhang-ZHY commented 1 week ago

Description

Paket is trapped in an infinite loop when resolving (Microsoft.Data.SqlClient 5.0.1) with [strategy: min].

Repro steps

I created a minimum reproduce repo.

https://github.com/HenryZhang-ZHY/reproduce-paket-issue-4263

Expected behavior

Paket can resolve the conflict or exit with an error. Anyway, it should not fall into an infinite loop.

Actual behavior

Paket trapped into an infinite loop.

Known workarounds

Pin Microsoft.IdentityModel.Logging to a specific version.