microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.38k stars 1.46k forks source link

winget list filters missing items #4334

Closed pspmoe closed 5 months ago

pspmoe commented 8 months ago

Brief description of your issue

winget list Microsoft.DotNet.DesktopRuntime.8 command result is empty when both x64 and x86 of Microsoft.DotNet.DesktopRuntime.8 are installed

This problem also exists in DotNet6, DotNet7

Steps to reproduce

  1. run winget install -a x64 Microsoft.DotNet.DesktopRuntime.8
  2. run winget list Microsoft.DotNet.DesktopRuntime. Results exists
  3. run winget install --force -a x86 Microsoft.DotNet.DesktopRuntime.8
  4. run winget list. Both x64 and x86 for Microsoft.DotNet.DesktopRuntime.8 are among the results
  5. run winget list Microsoft.DotNet.DesktopRuntime.8. Result is empty

Expected behavior

Both x64 and x86 for Microsoft.DotNet.DesktopRuntime.8 are among the results

Actual behavior

Result is empty

Environment

Windows Package Manager v1.7.10861
Windows: Windows.Desktop v10.0.22631.3374
Package: Microsoft.DesktopAppInstaller v1.22.10861.0
denelon commented 8 months ago

We've been working on the side-by-side scenarios. You could try the latest release and enable the experimental feature on:

Please provide feedback at: