Bug 60591 - [VS 2017][Smoke] Getting exception on previewing .xaml files for Android Projects in Master Detail Apps
Summary: [VS 2017][Smoke] Getting exception on previewing .xaml files for Android Proj...
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: High blocker
Target Milestone: 15.5
Assignee: Bugzilla
URL:
: 60825 60827 ()
Depends on:
Blocks:
 
Reported: 2017-11-09 12:00 UTC by Mohak Barokar
Modified: 2017-12-01 13:27 UTC (History)
9 users (show)

Tags: Globallogic
Is this bug a regression?: Yes
Last known good build: 15.5.0 Preview 3


Attachments
Previewer Android Exception IDE Zip Logs (14.29 KB, application/zip)
2017-11-09 12:00 UTC, Mohak Barokar
Details


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 or GitHub 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:
Status:
VERIFIED FIXED

Description Mohak Barokar 2017-11-09 12:00:22 UTC
Created attachment 25619 [details]
Previewer Android Exception IDE Zip Logs

Getting exception on previewing .xaml files for Android Projects in Master Detail Apps

Exception:
System.Reflection.AmbiguousMatchException

=========================================================================

Executed On:
 -Microsoft Visual Studio Enterprise 2017 d15rel Version 15.5.0 Preview 4.0 [27108.0.d15rel]
 -Xamarin   4.8.0.744 (a773aca)
 -Xamarin Designer   4.8.152 (5e0da2967)
 -Xamarin.Android SDK   8.1.0.23 (HEAD/f65f87747)
 -Xamarin.iOS and Xamarin.Mac SDK   11.4.0.214 (c4240f3)
 
 Build Gist: https://gist.github.com/mohakbarokar/c643e048d2157124bab855f562443b9e

=========================================================================

Steps:
1. Create File->Cross Platform -> Master detail > Shared App
2. Build the solution
3. Open All .xaml files under Views folder
4. Open Forms.Previwer and Check for both iOS and Android

=========================================================================

Expected Result:
Android Previewer should render properly

Actual Result:
Getting Error message as Exception occurred while rendering the control

=========================================================================

Frequency of Reproduction:
Happens every time (100% failure rate) 

=========================================================================

Screen-Cast Link for Steps:
https://www.screencast.com/t/jnH0YfdMm

Screencast Link for Exceptions Details:
https://www.screencast.com/t/qHo4pP7qwhZ

=========================================================================

IDE Logs and Debug output attached.

=========================================================================

Test Plan link: https://xqa-testrail.eastus.cloudapp.azure.com/index.php?/plans/view/53260

Test case Link: https://xqa-testrail.eastus.cloudapp.azure.com/index.php?/tests/view/21334548
Comment 1 Alan McGovern 2017-11-09 13:56:00 UTC
This change was supposed to be reverted by Xamarin.Forms and a new release prepared.
Comment 2 Alan McGovern 2017-11-09 13:57:18 UTC
This was originally reported on October 24th and was addressed then.
Comment 3 E.Z. Hart [MSFT] 2017-11-09 16:31:36 UTC
(In reply to Mohak Barokar from comment #0)

Mohak, 

Which version of Xamarin.Forms are you testing on?
Comment 4 Mohak Barokar 2017-11-09 17:36:16 UTC
@ E.Z. Hart

I have installed Xamarin.Templates.1.0.46 and using previewer version Xamarin.VisualStudio.Forms.Previewer.4.8.1.151

Kindly let me know if anything else is required.
Comment 6 Alan McGovern 2017-11-23 10:03:49 UTC
*** Bug 60825 has been marked as a duplicate of this bug. ***
Comment 7 Alan McGovern 2017-11-23 11:19:01 UTC
*** Bug 60827 has been marked as a duplicate of this bug. ***
Comment 8 David Ortinau [MSFT] 2017-11-27 20:03:15 UTC
PR: https://github.com/xamarin/Xamarin.Forms/pull/1237

Will be released in the next version of Xamarin.Forms.
Comment 9 Alan McGovern 2017-11-28 19:24:43 UTC
This is not a 15.5.1 issue - this is a blocker for 15.5 itself. Reassigning appropriately
Comment 12 Alan McGovern 2017-12-01 13:27:27 UTC
*** Bug 60942 has been marked as a duplicate of this bug. ***