microsoft / microsoft/msix-packaging
[BUG] Cannot access user settings and upgrade them
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.1k
- Forks
- 193
- Avg merge
- 2h 16m
- Merged PRs (30d)
- 2
Description
Project
Win7Msix
Describe the bug
After installing WinForms application via MSIX appinstaller can't access Settings. User.config is generated in users app data folder (C:\Users\User\AppData\Local\Developer\App.exe_Hash\6.4.0.4) rather than in virtually created AppData/Local/Packages//AppData/Local.... Thus I cannot use it or configure it. Upgrade fails aswell.
To Reproduce
Install any WinForms app with settings via MSIX package and try to save changed settings via WinForms app.
Expected behavior
I expect to be able to use (save, read) Settings and after an update via MSIX package I expect to be able to upgrade user.config from previous version to the newest.
Platform
Windows 10 19043
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue with a WinForms application that has settings, installed through an MSIX appinstaller on Windows. Compare where user.config is generated with the expected virtualized AppData path, then test saving, reading, and upgrading settings after an MSIX update. Done means settings remain accessible and the previous user.config upgrades successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100