我想部署和調試UWP應用程序到物理設備上。該設備是運行Windows 10 Home的Acer Iconia W1-810 Tab 8。開發環境也是運行VS2015社區的Windows 10。宏基被設置爲開發者模式,屏幕解鎖。通用Windows應用程序調試設備不工作
根據我對this article的瞭解,我應該可以通過USB連接設備,並直接在設備上進行部署和調試。起初我無法讓PC看到設備Windows Phone IP over USB Transport (IpOverUsbSvc)
被禁用。啓用這意味着我現在可以在Phones
類別下的網絡上看到表格。
在VS的項目也被設置爲Uninstall and then re-install my package ...
選擇Device
在VS調試目標產生這樣的錯誤:
DEP6200 : Bootstrapping failed. Device cannot be found. 0x89731810: Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on.
選擇Remote Machine
爲目標設備yeilds:
Error: Unable to connect to the Microsoft Visual Studio Remote Debugger named '192.168.0.7'. The Visual Studio 2015 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.
這是可以理解的,因爲我目前沒有安裝它。但從我的理解,第一種情況應該是工作,我寧可不在設備上安裝調試器,除非絕對需要。
爲了得到第一個調試場景,我需要配置什麼?