Deploying to Windows Phone 10 fails on Visual Studio

你离开我真会死。 提交于 2019-12-03 09:28:24

Somehow the problem got solved. I created a brand new project and did this:

1 - In your phone, try disabling the developer mode on your phone. What an unexpected development!

2 - Disable the "phone discovery" thingy. I don't know the name of this configuration in english (as my phone is in Portuguese). Just in case.

3 - Choose the correct architecture. This is obvious, right? In my case, ARM. If you try deploying with x86 or x64, it should give you an error. For me, it didn't.

From now on, you should be able to deploy your apps in both developer mode and non-developer mode. It just works, somehow. And it might NOT work for you, sorry. I think I got lucky.

It worked even after a reboot. So the solution is "pretty solid" (in an universe where gelatine is pretty solid).

user5884620

I had the same problem. I tried the fix of the comment and went to devices manager.

Under USB-Devices there were three Lumia 920s listed.

  1. I selected the second one and clicked on uninstall.

  2. At the end it asked me to restart the Computer. I clicked on NO.

(When I uninstalled the first or third one, it didn't ask me that). Then the error disappeared (now another common one appears (HRESULT: 0x80073CF6))

I have a Lumia 950 xl, with windows 10 installed, anniversary version. I had the same problem, and my solution was to turn on 'Device discovery' and 'Device Portal', and also keep the 'Developer mode' on.

I believe the only necessary option was the 'Device discovery' though!

Just in case someone still runs into this issue, I had something very similar with my Visual Studio 2015 professional update 1 but I couldn't even deploy to an emulator. The issue has gone after I upgraded to Visual Studio 2013 update 3.

I had the same issues on Windows 10 with Visual Studio 2015. I updated the the UWP SDK to Anniversary Edition Build 14393, set the target framework to this and it worked. I guess the incompatibility between the device version and sdk version was not allowing the device to be discovered by Visual Studio.

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