0

How can i use multiple WP device in Visual Studio? I need to test an application on multiple devices at the same time, how can I do? I do not need to start debugging on both, I just need to be able to deploy on both phones. One is WP8 and the other WP7. Thanks for the help

4

2 回答 2

0

You can deploy to the first phone by connecting it and selecting Deploy from the Build menu. You can then disconnect the first device, connect the second device and debug as per usual.

于 2013-02-13T22:05:14.303 回答
0

Sorry, you can't automate deployment to multiple devices using Visual Studio, DeployXap or CoreCon11 APIs. The way Visual Studio 2012 and DeployXap.exe do their thing is by using the CoreCon11 APIs (which I demoed here and explained here). However, the way CoreCon11 APIs work is that they only recognize one physical connected device at a time and one version of each emulator. Here's a print out of all available devices on a machine with 2 WP8s connected to it:

Devices

As you can see, there's only one "device" available from the CoreCon11 APIs. Because CoreCon11 APIs only support deployment to a single device, you can't automate those APIs or anything using them to deploy to multiple devices.

It might be possible to change how the CoreCon11 DataStore PlatformContainer works and add additional devices, but I don't have a code sample to share.

于 2013-02-13T23:54:07.290 回答