1)I am trying to update my existing UWP app with a new release. I have added this package to the Microsoft store. However when I install the new release all the previous app data get cleared. How can I get the old app data when I install the new release of the app.
2)Also currently my app data is stored in C:\Users(user name)\AppData\Local\Packages(Package Name)\LocalState. I would like the package to be created directly in the Local folder rather than the Packages folder. Can this be done in UWP?