UWP Deployment Error after deploying to store - Windows 10

旧时模样 提交于 2019-12-03 05:29:54

In order to resolve this problem, wait for it...., all I had to do was remove the old instance of my app that was installed on my phone.

As mentioned, in my update, I cannot believe this was the root of all my problems! What a poor error. I still don't understand why this resolved it as you would assume it would have updated the app as it did many times in the past.

I had thought about removing it at an earlier stage but I was reluctant doing so as I wasn't sure I would be able to re-install it until this problem was solved and I use the app on a daily basis, but having ran out of options, I decided to do so and the second I did, it installed the new version immediately and I was able to debug directly via the IDE as well.

What a pain and what a waste of time but hey, problem is solved which is the main thing!

Hope this helps others facing the same problem.

One possible reason is that you have an app already installed with the same ID. Uninstall any existing sample from your phone and try again.

Make sure iPOverUSBSvc should be running , it solved my issue

In my case uninstalling the app and removing it from AppData\Local\Packages did not help.

For me it was fixed by:

  • Disabling developer mode
  • Installing the app from the store
  • Re-enabling developer mode

Also make sure you don't have something related to the app open, such as a sqlite database. I had this error when I changed the name of the app, but still had the sqlite db open (as I was analyzing the structure). I spent way too much time figuring this out... :(

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!