Reputation: 824
I have a UWP app project that was created using Visual Studio 2105. I have started using the same solution in Visual Studio 2017. However, I have noticed that the app is removed and reinstalled on each deploy. So, all my pinned tiles, registered background tasks, app states are reset on each deploy making it difficult to debug.
I ensured that "Uninstall and then re-install my package." is unchecked in the project properties. I cannot find any other configuration controlling this behaviour. How do I solve this?
Edit: Here is the build output from Visual Studio while deploying the app in Debug configuration.
Upvotes: 2
Views: 262
Reputation: 1103
On the StartUp project - right click and select properties. Select Debug tab.
Untick "Uninstall and then re-install my package. All information about the application state is deleted."
Upvotes: 0