Hi all,
I have a problem when i try to compile release version of my android project . My error is that
Gravité Code Description Projet Fichier Ligne État de la suppression Erreur Échec inattendu de la tâche "LinkAssemblies". Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'Mono.Security.Interface.MonoTlsProviderFactoryDelegate' (defined in 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065') from 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' could not be resolved. ---> Mono.Cecil.ResolutionException: Failed to resolve Mono.Security.Interface.MonoTlsProviderFactoryDelegate à Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference) à MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference) à Mono.Linker.Steps.MarkStep.MarkField(FieldReference reference) à Mono.Linker.Steps.MarkStep.InitializeFields(TypeDefinition type) à Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type) à Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly) à Mono.Linker.Steps.MarkStep.Initialize() à Mono.Linker.Steps.MarkStep.Process(LinkContext context) à Mono.Linker.Pipeline.Process(LinkContext context) à MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context) à Xamarin.Android.Tasks.LinkAssemblies.Execute() --- Fin de la trace de la pile d'exception interne --- à Xamarin.Android.Diagnostic.Error(Int32 code, Exception innerException, String message, Object[] args) à Xamarin.Android.Tasks.LinkAssemblies.Execute() à Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() à Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() CTBand.Droid
I have try to change my "target android version" and my "minimum android to target" but without succes.
When i compile on Debug, it's works fine.
So how can i repair this bug?
Thanks in advance.