Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Deployment failed because no Windows Phone 8 phone was detected

I am using Visual Studio 2013 on Windows 8. I have got three Windows Phone devices, lumia 620, 920, 1320 and these are all developer unlocked devices. The 620 device has got Windows Phone 8.1 preview installed. Whenever I'm trying to deploy a WP8 project to this 620, debug windows gives me this error:

1>Deployment of application to device failed.
1>Error: Deployment failed because no Windows Phone 8 phone was detected. Make sure a phone is connected and powered on.
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

I have tried deploying after rebooting the phone, VS 2013 and even my PC, but failed in every case.

Please share any idea what may have caused this issue to occur or help me on how can I solve this issue. Thanks in advance.

like image 779
mesbahuk Avatar asked Jun 29 '14 03:06

mesbahuk


3 Answers

As @aloisdg said in a comment, you can fix the problem by unplugging your phone, going to 'Control Panel->Hardware and Sound->Devices, removing your phone, then connecting your phone by USB.

like image 91
James Esh Avatar answered Nov 09 '22 02:11

James Esh


So before you deploy the app to the device, check whether the device is being recognized in your pc/laptop.

Try connecting your device from another port. Did you try with another cable for the device.

Have a look over this thread for more.

http://social.msdn.microsoft.com/Forums/wpapps/en-US/b54277c0-84aa-433c-ba60-ebc536ccd4e4/vs2102-deployment-failed-because-no-windows-phone-8-phone-was-detected?forum=wpsubmit

Hope it helps!

like image 26
Kulasangar Avatar answered Nov 09 '22 03:11

Kulasangar


Problem Might be with the driver of any port . I also faced it , solved it with the following steps.

  1. Check All the ports of your laptop/PC.

  2. Go to Device Manager-->Universal Serial Bus Controller-->Uninstall the one which is having yellow mark.

  3. Go to Action-->Scan for hardware changes . Driver will automatically get installed.

  4. Then Run Your App :)

like image 2
Adi Avatar answered Nov 09 '22 03:11

Adi