Bug 23979 - Object type Xamarin.Forms.ColumnDefinition cannot be converted to target type: Xamarin.Forms.ColumnD...
Summary: Object type Xamarin.Forms.ColumnDefinition cannot be converted to target type...
Status: RESOLVED INVALID
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-10-21 19:21 UTC by John Miller [MSFT]
Modified: 2015-02-05 05:35 UTC (History)
4 users (show)

Tags:
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 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:
RESOLVED INVALID

Description John Miller [MSFT] 2014-10-21 19:21:45 UTC
**Overview:**

   An exception is thrown when trying to load a XAML page. 

**Steps to Reproduce:**

   Run the attached sample (private) in Visual Studio (Not Xamarin Studio).

**Actual Results:**

   An Exception: 
   Object type Xamarin.Forms.ColumnDefinition cannot be converted to target type: Xamarin.Forms.ColumnD...

**Expected Results:**

   No exception.

**Build Date & Platform:**

   XVS 3.7.230
   XI 8.4
   Forms 1.2.3

**Additional Information:**

   Project in latest XS works.
Comment 1 John Miller [MSFT] 2014-10-21 19:22:02 UTC
Created attachment 8463 [details]
Test Case
Comment 2 Parmendra Kumar 2014-10-22 02:30:08 UTC
I have checked this issue and I am able to reproduce this issue, To reproduce this issue I have followed steps mentioned in the bug description.

Screencast:http://www.screencast.com/t/6Uk2XEhTc0
Debug Log:https://gist.github.com/Parmendrak/ad0f33f04dbd6f91fcb2

Environment Info:
Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

Xamarin   3.7.230.0 (e78d10d6993f95fc3ebe791aeb4aacff165bf8bb)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   4.18.0.39 (0ef616ae42005ece52f6df7aa1e093ceb11998f8)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.4.0.0 (209abebbd8f1a292d042420edb45fa5fbd3f017b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 4 John Miller [MSFT] 2014-11-19 15:55:09 UTC
I copied just the Xaml of the view to a new project, and I was no longer able to reproduce this issue. It might be something with the project itself.
Comment 5 Jason Smith [MSFT] 2015-02-05 05:35:02 UTC
Looks like catching exception when thrown is turned on, this just means the debugger is pausing when the exception is thrown, even if its in a try/catch. This is expected.