I am working on a xamarin.forms app. It builds fine until I turn on linking with "Sdk Assemblies Only" in my android project properties for the release configuration. When I do that, I get the following error:
Error The "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Void Xamarin.Forms.Pages.BaseDataSource/d__22::MoveNext()' in assembly: 'Xamarin.Forms.Pages.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Xamarin.Forms.Log::Warning(System.String,System.String)
How can I resolve this without disabling linking? I am running Xamarin.Forms 3.2.0.871581 in Visual Studio 2017 15.8.6. Let me know what additional information would be helpful to know. I have tried doing a clean and build as well as deleting my bin and obj folders.