Deploy UWP App Project In VS2015

2019-03-11 09:58发布

In visual studio 2015 I created an UWP (Universal Windows Platform) app, and try to debug and run it in Windows 10 Mobile 5" emulator. But it shows me this error :

the project app1 needs to be deployed before it can be started. verify the project is selected to be deployed the solution configuration manager, or deploy it explicitly by clinking one of the deploy commands in the build menu.

What is deploy? And how I can deploy my project !?

Thanks !

Here is the error image:

enter image description here

9条回答
放我归山
2楼-- · 2019-03-11 10:23

Change Debug x86, set Debug Any CPU and then right click on your UWP Project and select Deploy (third option, under Rebuild)

查看更多
倾城 Initia
3楼-- · 2019-03-11 10:23

Another alternative:

  1. Click Build Menu
  2. Deploy Selection
  3. Hit F5 to start the default/Start-Up project
查看更多
我只想做你的唯一
4楼-- · 2019-03-11 10:26

I am running Visual Studio in Parallels on a Macbook and also got this error. It turns out my project files were being saved on my mac via network drive. When I moved the entire project to the C:\ drive for my parallels install, it worked fine.

查看更多
登录 后发表回答