windows-phone-8visual-studio-2015windows-10windows-10-mobile

The project needs to be deployed before it can be started


Whenever I am starting to test an Windows Phone app (even a blank app) on emulator, I am getting error "The project needs to be deployed before it can be started". The emulator will be started & run successfully, still no luck in deploying app on emulator. Getting error DEP6100 & DEP6200.

ERROR on WP8.1 Emulator

ERROR on W10M Emulator

These are the stuffs I tried till now:

  1. Checked "deploy" option in 'Configuration Manager'.
  2. Tried deploying Windows 10 Mobile, Windows Phone 8.1 & Windows Phone 8 blank apps on different types of emulators.

Although I am able to run apps on my device.

I am running Visual Studio Enterprise 2015 on Windows 10 Enterprise.


Solution

  • I faced problem like that and I fixed it by right click on project > properties > change platform target to X86. Image below describe that