microsoft / microsoft/winget-studio
When running as administrator I cannot manage configuration files
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 67
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Brief description of your issue
When running as administrator I cannot manage configuration files
Steps to reproduce
Launch WinGet Studio as non-elevated user
Go to manage configuration file
Load a configuration file
Observe it loads normally
Exit WinGet Studio
Go to start menu
Right click WinGet Studio
Launch as Administrator
Approve UAC prompt
Go to manage configuration file
Load a configuration file
Observe it Does not load
Expected behavior
It should load
Actual behavior
Description: A .NET application failed.
Application: ConfigurationRemotingServer.exe
Path: C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.26.430.0_x64__8wekyb3d8bbwe\ConfigurationRemotingServer\ConfigurationRemotingServer.exe
Message: Failed to load the dll from [C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.26.430.0_x64__8wekyb3d8bbwe\ConfigurationRemotingServer\hostfxr.dll], HRESULT: 0x80070005
The library hostfxr.dll was found, but loading it from C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.26.430.0_x64__8wekyb3d8bbwe\ConfigurationRemotingServer\hostfxr.dll failed
- Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
Environment
0.0.1
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 elevated and non-elevated configuration-file loading flows described in the issue, then inspect the ConfigurationRemotingServer.exe startup path and the reported hostfxr.dll failure. Done means configuration files load successfully when WinGet Studio is launched as administrator, without the .NET application error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100