Reputation: 1026
I have a Visual Studio project for a Windows Store app written in C#. I want to test the app in a situation where a user updates from one version to another, but I can't. When I try to debug my app in Visual Studio, I get this message:
The app xxx is already installed on this machine. If you continue with the current deployment, the existing app will be uninstalled and the app's current state will be deleted.
I don't want to lose the existing state of the app because I wrote code to find the old version of some data and to update it.
Installing the previous version from the Windows Store, or from a side-load, both have the same effect. I can't then test the new version in Visual Studio.
Does anyone know a way to get Visual Studio to not delete the old version, and install the new version from scratch?
Upvotes: 1
Views: 364
Reputation: 679
I know it's a little late but there is another way to do this.
Upvotes: 1
Reputation: 12465
You should not use the version from the Store. Simply deployy the app from Visual Studio (via debug). To test
Step 6 is where you will notice the app has been updated.
Upvotes: 1