samedi 28 novembre 2015

Unit testing Microsoft Band

Trying to do unit testing using MSTest in VS2015 with the Microsoft Band nuGet package and running into the following error "Microsoft.Band.BandIOException: An error occurred while attempting to acquire the Bluetooth device service. This error can occur if the paired device is unreachable or has become unpaired from the current host. ---> System.InvalidOperationException: A method was called at an unexpected time. (Exception from HRESULT: 0x8000000E)". Code runs fine when run inside the application. It fails on the line to call BandClientManager.Instance.ConnectAsync.

Aucun commentaire:

Enregistrer un commentaire