Describe the bug
Error The "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Void Xamarin.Forms.IShellControllerEvents::
at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
at Mono.Linker.Steps.MarkStep.Process()
at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.
Environment
Hey @xamarindevelopervietnam :wave:,
Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us.
https://opencollective.com/reactiveui
PS.: We offer
prioritysupport for all backers. Don't forget to addprioritylabel when you start backing us :smile:
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms!
Our events library is always one behind the latest. We just had a checkin for 3.6 go in this morning and I will do a release later today for that.
Part of the pain will go away once I get Pharmacist finalized https://github.com/reactiveui/pharmacist
Basically it's going to replace the .Events packages with a msbuild task.
So that way it'll scan your NuGet references and generate Observables for you.
GitHub
Builds observables from events. Contribute to reactiveui/Pharmacist development by creating an account on GitHub.
thanks @glennawatson
Resolving this, you can do something similar to what we do in our ReactiveUI.Events.XamForms project now.
Include a PackageReference to "Pharmacist.MsBuild", which is a ReactiveUI project which generates observables for events for whatever PackageReference's are inside the current project.
Make sure it's in the project with XamarinForms.
Most helpful comment
Our events library is always one behind the latest. We just had a checkin for 3.6 go in this morning and I will do a release later today for that.
Part of the pain will go away once I get Pharmacist finalized https://github.com/reactiveui/pharmacist
Basically it's going to replace the
.Eventspackages with a msbuild task.So that way it'll scan your NuGet references and generate Observables for you.