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 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.
Within Visual Studio, open Project Properties > Mono Android Options. Set the Configuration to Release.
At the bottom is a checkbox: Bundle assemblies into native code (Release mode only). This controls whether the assemblies are mkbundled into native code: if enabled, mkbundle should be run; if disabled, it should not be run (which is the historical behavior; mkbundle support is new to 4.6).
Bug: the state of the checkbox is _backwards_.
This checkbox is supposed to control the <BundleAssemblies/> MSBuild property. However, if this checkbox is selected (which implies that mkbundle is ENABLED), the .csproj has:
Likewise, if this checkbox is NOT selected (which implies that mkbundle is DISABLED), the .csproj has:
Fixed in master/1f9ed847fe
Today we have checked this issue with following builds:
When 'Bundle assemblies into native code (Release mode only)' is selected then it displayed <BundleAssemblies>True</BundleAssemblies> This is the gist for the same:
When 'Bundle assemblies into native code (Release mode only)' is not selected then it displayed <BundleAssemblies>False</BundleAssemblies> This is the gist for the same: https://gist.github.com/atin360/ef883c87f3b1169d3806
Changing the status to Verified.