Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Think this might actually be a duplicate of https://bugzilla.xamarin.com/show_bug.cgi?id=28125. In addition to the InvalidCastException, in the Application Output you see the same error from 28125:
Could not register the assembly 'Xamarin.Mac': System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies.
File name: 'System.Drawing, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
This caught the nasty brokenness that Aaron saw a week early, I was just too overloaded to notice.
Fixed in latest master. 8fe4401d425c6572388034aaf2eb81aa13392a78
Will be fixed in cycle 5 soon.
I have checked this issue with the following builds:
Xamarin Studio Version 5.9 (build 308)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Mono 4.0.0 ((detached/57df2b7)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400000111
Apple Developer Tools Xcode 6.2 (6776)
Xamarin.Mac Version: 184.108.40.206 (Business Edition)
=== Build Information ===
Release ID: 509000308
Git revision: da9e77e667bc255773fb8a87dcfc009d72c5cc3a
Build date: 2015-03-25 18:34:03-04
Xamarin addins: 1b5102f1e57ad1f6e32eaf535cee66a42441992e
Operating System Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
I observed that Xamarin.Mac sample "AnimatingViews" is working fine. Now, On clicking button "Add" application does't throw any exception, and a 'SQUARE' are added to the view. I have checked other samples :
1. Button Madness.
Above all samples are also working fine. Here is the screecast: http://www.screencast.com/t/l4OXak6op
This issue has been fixed hence, I am closing this issue.