The project needs to be deployed before it can be started

匿名 (未验证) 提交于 2019-12-03 00:56:02

问题:

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.

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.

回答1:

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



回答2:

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.



回答3:

After trying every solution found on Internet I finally formatted my PC & installed VS2015. Well it worked, emulators are working now.



回答4:

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.



回答5:

I run into this problem from time to time with new windows phone applications as well. I have never figured it out. What I have figured out though is I have an old windows phone 8.1 application that used to work. I have reduced it to mere basics. Anytime I run into this problem I just pick up the old application, copy what I need from the new application to it, and then I run it and rename whatever I need to rename in the old application. Crude but my easiest way out.



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