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.
- Windows 10
- Visual Studio 2015 Update 2
- Xamarin 22.214.171.124
- Xamarin.iOS 126.96.36.199
- Xamarin.Forms 188.8.131.52
- Xamarin.Forms.Theme.Base 184.108.40.206-pre1
- Xamarin.Forms.Theme.Light 220.127.116.11-pre1
Build and run on device without error
"Severity Code Description Project Project Rank File Line Suppression State
Error Could not AOT the assembly '/Users/[user]/Library/Caches/Xamarin/mtbs/builds/[app]/8ea50dcf176c3209abb04cc5591f3004/obj/iPhone/Ad-Hoc/mtouch-cache/64/Build/Xamarin.Forms.Theme.Base.dll' [app].iOS 4 C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets 681"
Building in Ad-Hoc with Linker set to "Links SDK assemblies only" (iOS proj propersties > iOS Build > General) causes issues with Xamarin.Forms.Theme.Base due to various dependencies not being linked.
A tiresome process of building (which is extremely slow for adhoc PC > Mac) and finding the build output (-v -v -v -v) errors such as below and adding each System dll to my Linking.xml file.
"Mono Ahead of Time compiler - compiling assembly /Users/[user]/Library/Caches/Xamarin/mtbs/builds/[app]/.../obj/iPhone/Ad-Hoc/mtouch-cache/64/Build/Xamarin.Forms.Theme.Base.dll
1> Could not load signature of Xamarin.Forms.Themes.CapitalizationConverter:Convert due to: Could not load file or assembly or one of its dependencies. assembly:System.Globalization, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a type:<unknown type> member:<none>"
> "Mono Ahead of Time compiler - compiling assembly
> 1> Could not load signature of
> Xamarin.Forms.Themes.CapitalizationConverter:Convert due to: Could not load
> file or assembly or one of its dependencies. assembly:System.Globalization,
> Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
> type:<unknown type> member:<none>"
Something is referencing in the wrong version of System.Globalization (it should be 126.96.36.199, but it's 188.8.131.52).
Could you please attach a complete diagnostic build log?
We have not received the requested information. If you are still
experiencing this issue please provide all the requested information
and re-open the bug report. Thanks!