microsoft / microsoft/msix-packaging

[BUG] Cannot access user settings and upgrade them

Open
#478 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-MSIX Core Bug
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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.