Bug 56619 - [VS2015][][Designer]-Unable to render the storyboard when tried to connect to host from the button inside the designer.
Summary: [VS2015][][Designer]-Unable to render the storyboard when tried to c...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Designer Integration ()
Version: 4.6.0 (15.3)
Hardware: PC Windows
: Normal major
Target Milestone: 15.3
Assignee: Adrian Alonso
Depends on:
Reported: 2017-05-18 14:29 UTC by Gaurav Ganorkar
Modified: 2017-06-27 09:56 UTC (History)
5 users (show)

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

Designer and IDE logs (21.49 KB, application/x-zip-compressed)
2017-05-18 14:29 UTC, Gaurav Ganorkar
Attaching IDE logs (12.26 KB, application/x-zip-compressed)
2017-05-26 13:08 UTC, Aman Dharwal

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 Gaurav Ganorkar 2017-05-18 14:29:05 UTC
Created attachment 22270 [details]
Designer and IDE logs

-When opened a storyboard without connecting to macAgent , An error screen is displayed inside the designer. When tried to connect the mac agent via clicking on the button inside the designer giving the same error even if mac agent is connected.

Build info 
-Xamarin (8a9c886)
Xamarin.Android (21d46f4)
Xamarin.iOS (c3cecd5)


-Make sure no build host get connect automatically when project is created or loaded

Steps to Reproduce
1-Create any single view ios application 
2-Open mainstoryboard and let the Connect to mac agent error message load in the designer (If already loaded Restart VS)
3-Now Click on Connect to mac agent via Designer error message screen
4-AFter mac agent connected try to render the mainstoryboard again or try closing/opening the mainstoryboard file.

-Unable to render the storyboard when tried to connect to build host via button in the designer

-As soon as Mac agent gets connected the mainstoryboard should render again

Screencast link

-if in anycase we got that error message on the Storyboard window , then there is no possible way to render the storyboard again without restarting the VS
Comment 1 Alan McGovern 2017-05-18 15:02:42 UTC
This looks like the designer is no longer being informed that a server is available to connect to. It most likely regressed in this commit https://github.com/xamarin/XamarinVS/commit/8a9c886091d641e87dc54ff66bd8de47b3010fce as this is where the event listener was most recently modified.
Comment 3 xamarin-release-manager 2017-05-19 15:01:49 UTC
Fixed in version (player)

Author: Adrian Alonso
Commit: 101846aabd62c5cbbe92a8693f098509d97fba20 (xamarin/XamarinVS)
Comment 4 Gaurav Ganorkar 2017-05-23 09:39:51 UTC
This bug was loggged for 15.3 and got fixed in 15.3 hence changing the target milestone
Comment 5 Aman Dharwal 2017-05-26 13:08:14 UTC
Created attachment 22498 [details]
Attaching IDE logs

This Issue is Reproducible , Hence Re-opening this Issue


Environment info : 

Xamarin (101846a)
Xamarin.Android (5b07df8)
Xamarin.iOS (c3cecd5)

Detailed info :


build taken from commit id 101846aabd62c5cbbe92a8693f098509d97fba20 
, the latest build available for this commit (player)


Screencast link : https://www.screencast.com/t/CB9K9vIMzVd
Comment 6 Alan McGovern 2017-05-26 13:28:35 UTC
Just to point this out again - the setup in this branch is unique to the branch and does *not* match what we have in master, 15.0 or 15.1.


I would still much rather then master code were re-instated in this branch.
Comment 7 Adrian Alonso 2017-06-08 14:05:58 UTC
This should be fixed in d15-3. Player branch finally did not make it for 15-3 and it's completely different.