4
votes

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.

4

4 Answers

2
votes

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

4
votes

The Emulator is x86 based and Phone is ARM architecture. To run the app in the emulator, change the CPU to x86 in the toolbar and compile it. Now you can deploy te App to the Emulator and test it.

0
votes

I just started playing with Xamarin Forms, and ran into this error after following the Xamarin Forms Quickstart Guide. The error message actually said to Run the Deploy... for the project that you are trying to run. Deploying the project seems to install some Windows dependencies that might be required to run the UMP. After deploying the project, it ran without issue as a Windows Desktop app, or if you change to Device, then install emulator, as Windows Phone app.

-1
votes

This error was relentlessly happening to me as well, and I found out that it was because my project was saved on a SanDisk SD card. If I simply moved the entire solution to my C drive, it built without issue, but on the D drive, it would give this error.