msix-packaging icon indicating copy to clipboard operation
msix-packaging copied to clipboard

[BUG] Cannot access user settings and upgrade them

Open juspus opened this issue 4 years ago • 1 comments

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/<AppHash>/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

juspus avatar Sep 15 '21 07:09 juspus

I am still having the same problem. NET8,WPF can access the configuration file, but Upgrade fails. (When Mahapps.Metro SaveWindowPosition="True")

zerodev1200 avatar Feb 19 '24 09:02 zerodev1200