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.
Here is crash stack:
With some debugging I came to this finding... It's trying to compare "mscorlib, Version=126.96.36.199, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes" with "mscorlib, Version=188.8.131.52, PublicKeyToken=b77a5c561934e089", problem is that that if AssemblyName has Retargetable=Yes set, it must have "Culture=neutral"(which is not set in 1st assembly) set, or exception is thrown: https://github.com/mono/mono/blob/abf1a37e2e33ac40b90b16448dfddde7dd7c29d7/mono/metadata/assembly.c#L2489
To reproduce this... build Xamarin Studio(monodevelop + md-addins) and then enter md-addins and run:"msbuild md-addins.sln /p:Configuration=DebugMac"
I'm able to reproduce this with latest 2017-02 build from wrench.
I have a fix for the `Culture=neutral` issue, but now the `md-addins` build is stuck at a XM issue, which Chris Hamons possibly has a fix for. Waiting for that.
Fixed in https://github.com/mono/msbuild/commit/be0695954bcfb9f14ff5a40d6910bc228c4b20fd
. FYI, this fixes the specific issue reported here. The md-addins build breaks on a XM issue now.