microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.65k stars 4.51k forks source link

[Package Issue]: Microsoft.DotNet.SDK.8 #183481

Open rkeithhill-keysight opened 6 days ago

rkeithhill-keysight commented 6 days ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

You can't install both the x64 and x86 architecture versions of this package. Once you install one architecture, you get an error that the package is already installed when you attempt to install the other architecture. This is clearly allowed if you go to https://dot.net and download both the x64 & x86 versions of the 8.0.403 versions of the SDK.

Steps to reproduce

On a clean Windows machine run:

winget install Microsoft.DotNet.SDK.8 --architecture x64

That will work. Now run:

winget install Microsoft.DotNet.SDK.8 --architecture x86

Actual behavior

The second install fails with:

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

Expected behavior

I expect to be able to install BOTH the x64 AND the x86 versions of the .NET 8.0 SDK on my test PC.

Environment

Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.5011
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads

Screenshots and Logs

No response

similar-issues-ai[bot] commented 6 days ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

Dragon1573 commented 5 days ago

🎯 Suggestion

Split package identifier Microsoft.DotNet.SDK.8 into 2, like Microsoft.DotNet.SDK.8.x86 and Microsoft.DotNet.SDK.8.x64, in order to support side-by-side installation.

rkeithhill-keysight commented 4 days ago

This is related to https://github.com/microsoft/winget-pkgs/issues/117876, but this issue here is specifically for the Microsoft.DotNet.SDK packages whereas the other issue is for the Microsoft.DotNet.Runtime packages.