Deploy UWP App Project In VS2015

后端 未结 9 1818
你的背包
你的背包 2021-02-02 00: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

相关标签:
9条回答
  • 2021-02-02 01:15

    For me, the problem was that I was running an SQL File from the from the Projekt separately. After closing the file it worked again. The file was in Packages folder in:

    C:\Users\User\AppData\Local\Packages\YourApppackegesName
    

    Deleting the directory "YourApppackegesName " may also work if closing the File doesn't work.

    0 讨论(0)
  • 2021-02-02 01:17

    Another alternative:

    1. Click Build Menu
    2. Deploy Selection
    3. Hit F5 to start the default/Start-Up project
    0 讨论(0)
  • 2021-02-02 01:18

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

    0 讨论(0)
  • 2021-02-02 01:29

    In my case I had a multi target solution incl. WinPhone and Andorid. The checkbox deploy in the solution configuration was set. How I fixed the problem:

    • Set the WinPhone Project as Startup project
    • and then select the appropriate deployment device in my case the emulator
    0 讨论(0)
  • 2021-02-02 01:30

    Right click on the Solution in Solution Explorer -> Configuration manager... Check the box in Deploy column in front of you Windows Phone Project

    0 讨论(0)
  • 2021-02-02 01:34

    In Visual Studio, right-click the Solution --> go to Configuration Manager --> check 'deploy' Checkbox

    0 讨论(0)
提交回复
热议问题