Forum Xamarin.Android

build errors using csharpjexcel library

doggydoggy CAMember
edited March 2017 in Xamarin.Android

Hi,
using visual studio and c#:
So far i am able to build a hello world app successfully without the csharpjexcel library included, however not so much success when trying to build my app with csharpjexcel library, (debug works ok!)
newb warning.... this is the error im getting, not sure what it means or how to fix.... any ideas are appreciated:
thanks!

Severity Code Description Project File Line Suppression State
Error The "LinkAssemblies" task failed unexpectedly.
Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA2006: Reference to metadata item 'System.String System.Globalization.CultureInfo::get_IetfLanguageTag()' (defined in 'CSharpJExcel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') from 'CSharpJExcel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' could not be resolved. ---> Mono.Cecil.ResolutionException: Failed to resolve System.String System.Globalization.CultureInfo::get_IetfLanguageTag()
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()
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, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
--- End of inner exception stack trace ---
at Java.Interop.Tools.Diagnostics.Diagnostic.Error(Int32 code, Exception innerException, String message, Object[] args)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() MaterialOrderForm

Sign In or Register to comment.