microsoft / microsoft/winget-pkgs
[Package Issue]: Microsoft.DotNet.DesktopRuntime.6 - Order matters for Side-By-Side installations
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
Category of the issue
Side-By-Side installation.
Brief description of your issue
I have just noticed that while it is possible to first install Microsoft.DotNet.DesktopRuntime.6 and then Microsoft.DotNet.DesktopRuntime.8, it is not possible the other way round.
Steps to reproduce
winget install --exact --id Microsoft.DotNet.DesktopRuntime.8
winget install --exact --id Microsoft.DotNet.DesktopRuntime.6
Actual behavior
PS C:\Users\Marco> winget list | Select-String "Microsoft.DotNet.DesktopRuntime"
PS C:\Users\Marco> winget install --exact --id Microsoft.DotNet.DesktopRuntime.8
Found Microsoft .NET Windows Desktop Runtime 8.0 [Microsoft.DotNet.DesktopRuntime.8] Version 8.0.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dotnetcli.azureedge.net/dotnet/WindowsDesktop/8.0.0/windowsdesktop-runtime-8.0.0-win-x64.exe
██████████████████████████████ 55.4 MB / 55.4 MB
Successfully verified installer hash
Starting package install...
Successfully installed
PS C:\Users\Marco> winget install --exact --id Microsoft.DotNet.DesktopRuntime.6
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
PS C:\Users\Marco> winget list | Select-String "Microsoft.DotNet.DesktopRuntime"
Microsoft Windows Desktop Runtime - 8.0 Microsoft.DotNet.DesktopRuntime.8 8.0.0 winget
Expected behavior
Successful installation of both packages.
Environment
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.3803
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0
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 reproducing the two PowerShell installation commands from the issue on the stated Windows Package Manager environment. The issue does not name a file or test entry point; done means installing Microsoft.DotNet.DesktopRuntime.8 followed by Microsoft.DotNet.DesktopRuntime.6 successfully and listing both packages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100