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 for Bug 54675 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
I have an Android App that uses an XML file to hold the format settings for a report. When you run it with Linking set to None, it works fine. When you run it with Linking set to Sdk Assemblies Only, it appears that it doesn't deserialize Size and Point objects. I have created a sample solution that demonstrates this. You can get in from GitHub:
I was able to reproduce this issue using the test project with the following versions:
Microsoft Visual Studio Enterprise 2017
Version 15.2 (26430.12) Release
Microsoft .NET Framework
Xamarin 188.8.131.526 (1be4f0c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android SDK 184.108.40.206 (9dbc4c5)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 10.10.0.35 (4cffddf)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
To reproduce, edit the Android Options of the Project -> Properties to Link SDK Assemblies for a Debug build. Next, run and deploy to a device. The app will have an unhandled exception because the Size is 0 (not successfully deserialized).
Created attachment 23117 [details]
Attached the project from GitHub for convenience.