Hello,
I have an iOS and Android mobile application developed with Xamarin.Forms. I am looking for a document editor that I can integrate into this application.
I came across GroupDocs.Editor while searching for an editor.
When I look at the Platform Independence field of GroupDocs.Editor, I see Xamarin.Android and Xamarin.iOS options in the Development Environments options. I also see that there is .NET Standard 2.0+ support as Supported Frameworks. The Xamarin.Forms project is .NET Standard 2.0 so I expect it to be Xamarin.Forms compatible as well.
However, when I include the GroupDocs.Editor nuget in my Xamarin.Forms project, I get the following errors.
Can not resolve reference:
System.Formats.Asn1
, referenced bySystem.Security.Cryptography.Pkcs
. Please add a NuGet package or assembly reference forSystem.Formats.Asn1
, or remove the reference toSystem.Security.Cryptography.Pkcs
.
Severity Code Description Project Project Rank File Line Suppression State Tool
Can not resolve reference:Aspose.Cells
, referenced byGroupDocs.Editor
. Please add a NuGet package or assembly reference forAspose.Cells
, or remove the reference toGroupDocs.Editor
.
After adding all the relevant packages to fix the errors that appeared in this way, I encountered an error like the one below.
Mono.Linker.MarkException: Error processing method: âSystem.Void /::(Aspose.Email.MailMessage)â in assembly: âGroupDocs.Editor.dllâ â> Mono.Cecil.ResolutionException: Failed to resolve System.Void Aspose.Email.Storage.Mbox.MboxStorageWriter::WriteMessage(Aspose.Email.MailMessage)
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 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 Microsoft.Android.Build.Tasks.AndroidTask.Execute() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidTask.cs:line 17
Can I use GroupDocs.Editor in my Xamarin.Forms project?
Thanks,
Regards.