-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "LinkAssemblies" task failed unexpectedly. #31
Comments
Thank you for your report. But It is not enough information to survey. Thank you. |
Thank you for reply and Help muak. AiForms.Effects - using the latest stable version Android SDK version - using latest Oreo (8.1), even i checked by changing in lower versions as well up to API level 21. Am attaching a command to StackLayout and its working great in debug mode , while coming to release facing the issue when "Linking is set to be SDK Assemblies only." Below is sample code. Thanks, |
Thank you for your additional information. Though I tried building in the same environment, couldn't reproduce it. I'm sorry I couldn't be of any help. |
Thanks for the response and help. |
Hi all, I just ran into this issue, and deleting the /bin & /obj folder for the Android project worked for me. |
While running in release mode, linking the assemblies am unable to run project with this nuget package.
Can you advice me the fix, for this issue. Pasting error below.
Severity Code Description Project File Line Suppression State
Error The "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Void AiForms.Effects.Droid.ToFlatButtonPlatformEffect::OnElementPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)' in assembly: 'AiForms.Effects.Droid.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve Xamarin.Forms.BindableProperty Xamarin.Forms.Button::CornerRadiusProperty
at Mono.Linker.Steps.MarkStep.MarkField(FieldReference 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()System.Void AiForms.Effects.Droid.ToFlatButtonPlatformEffect::OnElementPropertyChanged
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.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.d__26.MoveNext() MS.Digital.BOD.Android
The text was updated successfully, but these errors were encountered: