in assembly 'TeeChart.PCL.Android.dll': Mono.Cecil.ResolutionException: Failed to resolve Style::NestedScrollBarStyle
Posted: Wed May 13, 2020 6:23 pm
I am using Visual Studio 2019, v16.5.5.
When trying to build on Xamarin.Forms v4.6.0.726 and Steema.TeeChart.NET.Xamarin.Forms v4.2020.4.24, I receive the following error, when in "release" mode (debug doesn't occur):
NOTE:
• I am compiling using Android 10 (Android Q).
• All required support libraries are installed, to my knowledge, as it runs fine in debug mode.
• This also occurs regardless of build settings. (code linker on/off, bundle/apk, etc.)
I also tried other versions as early as 4.2020.4.3.
Also, the license file doesn't work on any version past 4.2020.4.3. see viewtopic.php?f=4&t=16890
When trying to build on Xamarin.Forms v4.6.0.726 and Steema.TeeChart.NET.Xamarin.Forms v4.2020.4.24, I receive the following error, when in "release" mode (debug doesn't occur):
Error Mono.Linker.MarkException: Error processing method: 'System.Void TeeChart.PCL.Droid.Resource::UpdateIdValues()' in assembly: 'TeeChart.PCL.Android.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Int32 Xamarin.Forms.Platform.Android.Resource/Style::NestedScrollBarStyle
at Mono.Linker.Steps.MarkStep.HandleUnresolvedField(FieldReference reference)
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()
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
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.RunTask()
at Xamarin.Android.Tasks.AndroidTask.Execute()
NOTE:
• I am compiling using Android 10 (Android Q).
• All required support libraries are installed, to my knowledge, as it runs fine in debug mode.
• This also occurs regardless of build settings. (code linker on/off, bundle/apk, etc.)
I also tried other versions as early as 4.2020.4.3.
Also, the license file doesn't work on any version past 4.2020.4.3. see viewtopic.php?f=4&t=16890