Im developing a WPF aplication that saves some json under AppData\Roaming\MyAppFolder. During testing in VS2017 all was going as planned.
I generated the.appx for my project, installed and runned to see that no data was bing saved where I expected. After using procmon I found out that the data was actually being saved under AppData\Local\Packages\Myapp_pn7t59nnjk55e\LocalCache\Roaming
Im using Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
to get the folder path.
- Why exactly it changes when I run my app after installing using .appx?
- Is there a way to actually save under AppData\Roaming?
- Should I actually care about it?