Bug 37282 - [Facebook Android SDK] Can't compile in Release mode with component's version higher than 4.x.x
Summary: [Facebook Android SDK] Can't compile in Release mode with component's versio...
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jon Dick
Depends on:
Reported: 2015-12-24 19:16 UTC by Oleg Demchenko
Modified: 2016-01-12 15:05 UTC (History)
2 users (show)

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

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 Oleg Demchenko 2015-12-24 19:16:54 UTC
I saw a couple of problem reports from customers in Xamarin Components store about compilation problems with Facebook Android SDK component:

Since 4.x.x I can't compile for Release (Link SDK assemblies only or Link all assemblies)
With "Link SDK assemblies only" throws this compilation error:

With "Link all assemblies" throws this:

Original comments can be found in this thread:
Comment 1 Jon Dick 2016-01-12 15:05:09 UTC
What version of Xamarin.Android are you using?  I can't reproduce the issue here with the latest stable version of Xamarin.Android (Version: as well as the latest nuget package for Facebook Android (https://www.nuget.org/packages/Xamarin.Facebook.Android/ version 4.8.22)