Bug 9928 - The dialog to configure a build host blocks projects from loading
Summary: The dialog to configure a build host blocks projects from loading
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.0.x
Hardware: PC Mac OS
: Low enhancement
Target Milestone: 1.2.x
Assignee: Jose Miguel Torres
Depends on:
Reported: 2013-01-30 20:23 UTC by PJ
Modified: 2013-05-01 10:03 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description PJ 2013-01-30 20:23:16 UTC
Steps to reproduce:
Activate on Windows, but don't connect to a build host
Open a new project

Expected behavior:
a) The project should load even though the build host comes up
b) The build host configuration dialog shouldn't appear until the user needs to configure the build host (on run/debug)

Actual behavior:
The project sits loading in the solution explorer until the user closes the build host config dialog

Filed against
MTVS 1.0.818
Comment 1 Vinicius Jarina 2013-01-31 10:58:12 UTC
PJ this is the behavior when you don't have any build host configured.

We can remove this behavior, but IIRC the idea was to ask the user to configure the build host on the first run.
Comment 2 PJ 2013-01-31 11:21:20 UTC

Yeah the issue is that the build host connection dialog is blocking the project from loading, not that it appears (it should definitely appear!)

I'm assuming we can fully load the project in this situation without blocking because of the dialog. 

REOPENING because it was invalidly resolved invalid :D
Comment 3 Vinicius Jarina 2013-01-31 12:00:32 UTC
PJ is a modal dialog :)

You need to dismiss in order to continue.

After hit close, the load fails?
Comment 4 PJ 2013-01-31 12:22:02 UTC
Can we not keep loading the project in the background? If it's really impossible then that's fine - it just seems weird to me that we can't keep loading the project while the user selects a build host.
Comment 5 Vinicius Jarina 2013-01-31 15:01:26 UTC
Visual Studio apparently load the project in the UI thread, and as we are displaying a modal dialog, Visual will not finish the loading until we close the dialog.  We could try delay the dialog display, Is up to you :)
Comment 6 PJ 2013-04-30 15:22:33 UTC
This is fixed by jtorres' changes to make the dialog non-modal.

When the connection dialog appears, the solution is now also loaded.
Comment 7 Saurabh 2013-05-01 10:03:57 UTC
Today we have checked this issue with following builds:

VS 2012/2012
MTVS 1.1.200

We have observed that we are able to load project successfully in VS. While VS is not connected to build host. And 'connect to build host' window appears when user click on Refresh button.

Changing the status of this issue to Verified.