Bug 15556 - System.Xml.Serialization.dll cannot be used with Indie/Starter
Summary: System.Xml.Serialization.dll cannot be used with Indie/Starter
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.8.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Radek Doulik
Depends on:
Reported: 2013-10-21 14:23 UTC by Mikayla Hutchinson [MSFT]
Modified: 2017-06-30 01:35 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Sample Android solution that has this issue (77 bytes, text/plain)
2014-01-22 23:31 UTC, rezidual

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Mikayla Hutchinson [MSFT] 2013-10-21 14:23:50 UTC
System.Xml.Serialization.dll cannot be used with Indie/Starter because it references System.ServiceModel.dll and the linker does not check whether System.ServiceModel is actually used.

It contains only type forwarders, so there's no point in adding an explicit reference to it anyway. Maybe it should be a Facade assembly, rather than an explicit part of the framework?
Comment 2 Mikayla Hutchinson [MSFT] 2013-10-22 16:46:20 UTC
It would be useful if for indirect references, the error would mention the assembly that brought the reference.
Comment 4 rezidual 2014-01-22 23:34:19 UTC
Comment on attachment 5894 [details]
Sample Android solution that has this issue

I am currently using Xamarin Studio 4.2.2 Indie
Comment 5 Mikayla Hutchinson [MSFT] 2014-01-23 00:50:11 UTC
My guess would be that Microsoft.WindowsAzure.Mobile.dll references System.Xml.Serialization.dll.
Comment 6 Jonathan Pryor 2014-07-28 15:53:33 UTC
Is this still an issue? This may have been resolved along with Bug #13370.
Comment 7 Chris Hardy [MSFT] 2017-06-30 01:35:09 UTC
 Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.