简体   繁体   中英

UWP : How to debug App on VS without uninstall current one?

hello I have a UWP debug question:

  1. I developped a App called 'MyApp' on VS2017
  2. I published MyApp to Windows Store.
  3. Download & install MyApp from Windows Store.

Then I want to fix some bugs, I open MyApp project in VS2017, and try to deploy(otherwise cannot debug), then VS notified me : Already installed MyApp, if you conitnue deploy, will uninstall current.

means from now on, every time I want to update MyApp(VS) on VS, I have to uninstall MyApp(WinStore) first? with losing all of my app state? sounds ridiculous.

How to fix this problem?

When I debug an app that I should change its name.

Open the Package.appxmanifest.

在此处输入图片说明

Change the package name and display name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM