Affects Version/s: Release 5.3.0
Fix Version/s: Release 5.3.0
Windows 10 Pro
Appc NPM: 4.2.4-2
Appc Core: 5.2.1-13
Ti SDK: 5.3.0.v20160311122340
Lumia 930 10.0.10586.164
Sprint:2016 Sprint 08 SDK
When a device is not connected to a PC but its on the same network as the PC, when building a project for wp-device then it will still show up as available. This is because the utility used to obtain the device information, WinAppDeploy, supports deployment of an app over wifi and therefore will detect devices on wifi. See the below output for the differences between the output.
However, I believe that for this to happen the device needs to have 'Device Discovery' in 'For Developers' enabled. I am not sure whether this is enabled by default.
It is possible to deploy to a device over the network, but as far as I know this is not supported yet so for now we should filter devices that are displayed by the tool but appear to be connected over the network.
1. Connect a device by USB and run "C:\Program Files (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe" devices
2. Run appc run -p windows -T wp-device
3. Disconnect the USB and ensure the device is on the same network as your PC
4. Run appc run -p windows -T wp-device
2. The device will be shown
4. The device will be shown
The device should only be shown when the device is able to be built to, ie connected by USB