You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dotnet list <project> package --include-transitive --outdated fails with "error: Sequence contains no matching element" #15134
yes, it appears it's the same bug. Unfortunately the fix only made it into 11.0.2xx. Talking about this issue in team triage, we think that without more upvotes, it doesn't meet the bar for servicing. So, I'm leaving this open to collect more 👍 update (on the first/original comment in this issue, reactions on my comment doesn't count).
yes, it appears it's the same bug. Unfortunately the fix only made it into 11.0.2xx. Talking about this issue in team triage, we think that without more upvotes, it doesn't meet the bar for servicing. So, I'm leaving this open to collect more 👍 update (on the first/original comment in this PR, reactions on my comment doesn't count).
dotnet list MyProject.csproj package --include-transitive --outdated --include-preview
Works!
I am not aware of an --include-preview option. If you meant --include-prerelease, unfortunately that does not work for me --> it throws an error:
dotnet package list --include-transitive --outdated --include-prerelease
Restore complete (1.4s)
Build succeeded in 1.5s
error: Sequence contains no matching element
Activity
paulomorgado commentedon Nov 9, 2026
@zivkan, could this be related to NuGet/NuGet.Client#7754?
zivkan commentedon Nov 10, 2026
yes, it appears it's the same bug. Unfortunately the fix only made it into 11.0.2xx. Talking about this issue in team triage, we think that without more upvotes, it doesn't meet the bar for servicing. So, I'm leaving this open to collect more 👍 update (on the first/original comment in this issue, reactions on my comment doesn't count).
paulomorgado commentedon Nov 10, 2026
Thanks, @zivkan.
If it goes through, will it be backported to .NET 10.0 SDK?
zivkan commentedon Nov 10, 2026
I would assume so, given 10 is an LTS release and 11 is not. But it's up to the release manager to approve.
arjenkeijzer commentedon Nov 18, 2026
I am not aware of an
--include-previewoption. If you meant--include-prerelease, unfortunately that does not work for me --> it throws an error: