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
GitHub or Developer Community 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.
Reported by https://github.com/cake-build/cake/issues/1368.
When running Cake on Mono 4.8 it fails with "Method 'Mono.CSharp.MetadataImporter.set_IgnoreCompilerGeneratedField' not found".
The issue is that they bundle an old Mono.CSharp.dll which gets loaded and we now try to set the property above from Microsoft.CSharp.dll which is only present in a newer version since https://github.com/mono/mono/commit/5da8cfe05df331723584997bb9bbc6ac961c12d4.
Resolution: stop bundling Mono.CSharp.dll or use a different assembly name.
Fixed in master and Mono 4.8
I have tried to reproduce this Issue with Mono 220.127.116.110 and XS 6.2 (Build 1505) using FastlaneLecture project from https://github.com/ghuntley/appstore-automation-with-fastlane but application getting build and deployed successfully on device and Simulator.
Application Output: https://gist.github.com/saurabh360/9b7fed28ba39f6719be49198c40e454f
Build Output: https://gist.github.com/saurabh360/fe675494f10a108c043f6c902e2fadf9
@Alexander/Marek, Could you please let me know how can I reproduce this Issue so that I can verify it?
@Marek, It would be great if you have a look comment2. We are looking for your valuable feedback, will help us to reproduce and verify this issue.
The simple way I can think of reproducing it is to create simple C# program which does some dynamic operation
dynamic d = 1;
Console.WriteLine (d + 2);
if you also reference Mono.CSharp nuget you should get execution error (this assumes nuget content is copied to bin folder)
To reproduce this issue I have created a console project of C# in XS and add the code that you have provided in comment 4,
public static void Main(string args)
dynamic d = 1;
Console.WriteLine(d + 2);
But it give build error with latest mono 4.8 and the mono that contains the issue however if I add Microsoft.CSharp in its Reference then it build successfully with both mono i.e. with Latest mono MonoFramework-MDK-18.104.22.1687.macos10.xamarin.universal_df82e0775c5eaddc710eea4af8107c28861b190b and with MonoFramework-MDK-22.214.171.124.macos10.xamarin.universal_951f3c883789315cb02d79ade7247c9868296e55
I am not getting any difference, please let me know If I missed something to reproduce this issue?
Build output for comment 5 : https://gist.github.com/Mohit-Kheterpal/b0badf2fd3e8f4fadd69866845660a85
Did you add Mono.CSharp nuget? Can you attach your project?
I guess If you really want to reproduce you'll have to use cake-build steps to repro
I am not sure about the cake-build steps, I have searched it on google and find a Cake.Xamarin test sample from https://github.com/Redth/Cake.Xamarin and run this sample in XS using MonoFramework-MDK-126.96.36.1997.macos10.xamarin.universal_df82e0775c5eaddc710eea4af8107c28861b190b and with MonoFramework-MDK-188.8.131.52.macos10.xamarin.universal_951f3c883789315cb02d79ade7247c9868296e55 and I am getting same behaviour.
I m not sure, I am in right direction to verify this issue.