Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Deployment targets in visual studio do not update after unplugging a device from the build host. This means that the user can still start a build that is targeting a device that no longer exists, causing VS to hang and eventually throw a WebException due to timing out. The only way to get the device list to update is to manually press the refresh button, which is acceptable but not ideal for the user.
Is it possible to get an update from the build host when physical devices are unplugged / swapped / etc? It would make for a better user experience if the target device would at least clear when the user unplugs it from the build host.
Steps to reproduce:
!) Open an MTVS project and connect to a build host with a device plugged in.
2) Unplug the device that has already been set as the deployment target by MTVS
3) Notice that the deployment target is not updated.
4) Plug in a new device, and attempt to deploy.
5) MTVS should hang for some time.
VS 2010 and 2012
The devices are refreshed every 1 minute IIRC, Dominique please correct me if I'm wrong.
We should perhaps refresh the list of devices on deploy/start debugging/start application time and error out should the device be unavailable.
I like your suggestion in comment 1.
Fixed as per comment 1.
Today I have checked this issue with following builds
iOS for VS 1.3.227
We have followed some steps here.
1) Open an MTVS project and connect to a build host with a device plugged in.
2) Observe that connected device name displayed on VS
3) Now unplug the device from build host.
4) Click Start button on VS to run the application
Application start to build and deploy but Deployment target does not update and no proper message appears. This is the screencast for the same: http://screencast.com/t/hxasATkbW32
Also If unplugged device and plugin another device and click on Start button, Deployment target not update.
Debug log: https://gist.github.com/atin360/edf58217f616f20d14e5
Mac Server Log: https://gist.github.com/atin360/21fa1c2db28a21f3a6b9
Hence reopening this issue
Fixed on 1.8.183
Video: (Unpluging and pluging a device)
Today we have checked this issue with following builds :
Now Deployment target is updates in VS every time when user plugh or unplugh same or different device to server.
Hence closing this issue.