Bug 34938 - Getting exception on running the attached Xamarin.Mac "TestSample".
Summary: Getting exception on running the attached Xamarin.Mac "TestSample".
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Samples ()
Version: 2.4.0 (C6)
Hardware: PC Mac OS
: High major
Target Milestone: 2.4.0 (C6)
Assignee: Chris Hamons
Depends on:
Reported: 2015-10-16 07:24 UTC by Rajneesh Kumar
Modified: 2015-10-26 02:44 UTC (History)
3 users (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:

Comment 1 Chris Hamons 2015-10-16 11:47:57 UTC
The error I'm seeing (both master and latest alpha on pipeline) comes from:

System.Diagnostics.Debug.WriteLine ("You should be reading this. There should not be a \"Could not register the assembly 'Xamarin.Mac'\" error above this.");

You can remove every other line in that file and still hit that. And I can confirm that this line didn't cause issues in stable.
Comment 2 Chris Hamons 2015-10-16 11:53:57 UTC
Ok, it was introduced somewhere in the range of:

Does not have bug - Version:
Has bug -
Comment 3 Chris Hamons 2015-10-16 12:38:57 UTC
This appears to be a regression due to changes in mono. Moving the system folder's hash back to:

git checkout 2e6efb3 -- mcs/class/System

and rebuilding makes the issue go away. 

Going to talk to people to see what (if anything) we can do.
Comment 4 Chris Hamons 2015-10-16 13:42:48 UTC
Wrote a test request for this to be made part of the manual test suite. It is still that this wasn't caught until now


Fixed in master / 4f2f6bb62eadc929c3ac9395e3ef40a8c08646e5

Requesting addition to C6 shortly.
Comment 5 Chris Hamons 2015-10-16 13:47:46 UTC