winget-cli
winget-cli copied to clipboard
Reference to strange package when searching for "."
Brief description of your issue
I wanted to install a locally created package and accidentally entered winget install . (instead of winget install -m .). Then the winget package manager started the installation of a strange Chinese package.
Steps to reproduce
Enter winget show .
Expected behavior
There should be no package listed under the "." label/moniker. If so, it should have something to do with a dot.
Actual behavior
The dot character seems to be the moniker to a strange package.
Environment
Windows-Paket-Manager (Vorschau) v1.3.692-preview
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
Windows: Windows.Desktop v10.0.19043.1645
Paket: Microsoft.DesktopAppInstaller v1.18.692.0
Would you be able to share a screenshot?
When I do winget install . or winget show . it's related to an application called .NET Developer from Microsoft Store:

The "show" command and the "install" command use similar logic attempting to find a "best match". In this case it's the first search result returned by the "msstore" Microsoft Store search. We have work to do on the search behavior for the "msstore" source.