-
Notifications
You must be signed in to change notification settings - Fork 124
Detected package downgrade problem #988
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Would you be able to create a minimal reproducible example so it would be possible to test this? |
I will try to run tool on our current repo and see if I could reproduce this error |
Hi @CrispyDrone, I just had a debug session this week-end about this issue. Ex: A project with dependencies as follow:
The topological sort might not place N3 before N1, because, as the sort is only considering projects dependencies, the N1 to N3 dependency is never materialized, not allowing the topological sort to do its job. This did not seem an easy fix, as it would require inspecting all nuget dependencies, but at least if this could help... Another way of fixing is to clean dependencies, but this can be a little bit tricky without R# or an upcoming development by MS to help clean the dependencies. |
Hey @Greybird Thanks for the additional explanation. Is it possible that your project is using the new When For For this to work properly, we would have to replicate |
Here's the original PR that added the topological sort for packages: #262 I had a question there about why this was actually needed since the simple example of |
Yes you are right, this is actually the case.
It seems this is not the case, when B is explicitly referenced using a PackageReference (it might depend on the version selector strictess though).
Best I am aware of is the |
🐛 Bug Report
I have this error during update of my solutions
Expected behavior
Nuget is updated
Version: 0.29
Platform if applicable:
=
The text was updated successfully, but these errors were encountered: