官术网_书友最值得收藏!

Deploying through Wi-Fi

If you chose the Wi-Fi deployment option, you can choose Remote as your deployment target. If you do this the first time, you will get a menu where you can pick the device out of a list of available devices. The autodiscovery method does not always work--every now and then, you need to enter the IP address manually.

You can find this IP address in the Settings | Network & Internet | Advanced Options menu on the device. This is the same IP address you use to launch the device portal.

The Remote Connections dialog

Make sure that you have the Authentication Mode set to Universal, otherwise your device will not accept the connection.

You need to take an additional step to deploy--your device needs to pair with your computer. This way you can be sure that no other people connect to it without you knowing it. If you start the debugger using the Remote Machine option or try to deploy to the Remote Machine, you will get a dialog box asking you for a PIN.

Visual Studio asking for the PIN to pair

This pin can be obtained in the device by navigating to the Settings app, then to Update, and then selecting For Developers. Here, you can pair the device. If you select this, you will get a PIN globally for each machine you want to connect. Enter this pin in the dialog and you are all set to go--the device should receive your app now. If you choose Deploy in Visual Studio, the app will show up in your list on the device. You can find it by starting the Start screen with the Bloom gesture, then select the + on the right-hand side of the menu. There, you will find the list with all the installed apps, including your new HelloHoloWorld project. Air-tap this to start it. If you are done with it, you can do the Bloom again to go back to the main menu.

If you happen to forget the pin, do not worry. All you have to do is enter a wrong number three times in a row. After that, the device will ask you to reconnect once again from scratch, enabling you to think of a new pin.

If you choose Debug, the app will start automatically--you do not have to select it in the device.

主站蜘蛛池模板: 乐都县| 安泽县| 牡丹江市| 靖江市| 盐城市| 花莲市| 江门市| 镇平县| 林西县| 佛坪县| 增城市| 鄂伦春自治旗| 东海县| 三亚市| 焦作市| 札达县| 柳河县| 无为县| 南华县| 英吉沙县| 七台河市| 广丰县| 蒙阴县| 阳新县| 江川县| 万山特区| 新营市| 洛扎县| 白城市| 鹿泉市| 富蕴县| 清镇市| 共和县| 望城县| 大邑县| 虞城县| 慈溪市| 吕梁市| 福泉市| 连城县| 林西县|