microsoft / microsoft/winget-pkgs

DotNet 8 dependencies not installed by winget when other DotNet 6/7 are installed

Open
#145,850 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dependencies Issue-Bug
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Brief description of your issue

When installing WHONET.AMRIE package, Microsoft.DotNet.DesktopRuntime.8 dependency is not installed.

Steps to reproduce

winget install WHONET.AMRIE

Expected behavior

Install package & required dependency

Actual behavior

Only package is installed which does not function without dependency.
Terminal showing that dependency is not installed automatically. In next command I installed it manually when program failed to open.

314926536-5d9fb2a1-0e20-4b4b-bdd8-8f0b03f13dc8 - Copy
Screenshot 2024-03-21 092747
Screenshot 2024-03-21 092813
314926536-5d9fb2a1-0e20-4b4b-bdd8-8f0b03f13dc8

Environment
PS C:\Users\drsht> winget --info
Windows Package Manager v1.7.10661
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3296
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10661.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

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Enabled

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the WHONET.AMRIE manifest and inspect how its Microsoft.DotNet.DesktopRuntime.8 dependency is declared. Reproduce with winget install WHONET.AMRIE; done means the dependency is installed automatically when other .NET runtimes are present and the package launches successfully.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.