microsoft / microsoft/winget-pkgs
[Package Issue]: Microsoft.DotNet.DesktopRuntime.7
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
Description
Please confirm these before moving forward
- I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Multiple installed packages found.
Brief description of your issue
The package Microsoft.DotNet.DesktopRuntime.7 (since 7.0.4) incorrectly finds pre version 7 versions.
Steps to reproduce
Upgrade Microsoft.DotNet.DesktopRuntime.7 to version 7.0.4
Actual behavior
Older versions of Microsoft DotNet DesktopRuntime (in my case 6.0.15 (both x86 and x64) and 3.1.32 (x64)) are matched by the Microsoft.DotNet.DesktopRuntime.7 manifest.
Expected behavior
None 7.x versions of this package should not be matched by the 7 version of this package.
Environment
PS> winget --info
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.1413
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Screenshots and Logs

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Microsoft.DotNet.DesktopRuntime.7 manifest and reviewing how its version or upgrade matching is defined. Reproduce the upgrade behavior described with winget, then verify that only 7.x versions are matched and that the older 6.x and 3.1.x runtimes are excluded.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100