Bug 4506 - System.InvalidCastException has been thrown after debug iPad -OpenGL application
Summary: System.InvalidCastException has been thrown after debug iPad -OpenGL application
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.9.x
Hardware: PC Mac OS
: --- blocker
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-04-18 15:07 UTC by PJ
Modified: 2012-04-18 16:48 UTC (History)
1 user (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 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:

Description PJ 2012-04-18 15:07:13 UTC
Steps to reproduce:
1. Create iPad -OpenGL template
2. Debug the solution.

Actual result:
When we create the iPad-OpenGL solution, we are getting an error after debug the solution , i.e. System.InvalidCastException: Unable to cast object of type 'MonoTouch.GLKit.GLKView' to type 'iPadGL.EAGLView'.

Expected result:
Solution should run successfully without throwing any exception.

Stack trace of the error:

MonoDevelop-2.9.5 f87f5acaa553514dd7f64ad5ae9f7ef8beae2f81
MonoTouch 5.2.10
MacOSX 10.7.3
Comment 1 Jeffrey Stedfast 2012-04-18 16:48:17 UTC
ok, *should* be fixed in md-addins git master