Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Mon Jun 09, 2014 11:12 am

Hello, all!

I'm trying use Spire.Doc libraries in my Xamarin.Android project. I using Free Spire.Doc for .NET Version:5.1. I have a trouble when I build this code:
Code: Select all
Spire.Doc.Document document = new Spire.Doc.Document();
document.LoadFromFile( "test.docx" );

//Convert the file to PDF
document.SaveToFile( "test.pdf", FileFormat.PDF );


Error message (for first line):
Test.cs(171,15): error CS0012: The type `System.Xml.Serialization.IXmlSerializable' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'


I already added reference to System.Xml, but Xamarin using Mono and version of System.Xml may be different.
I have latest Xamarin.Android version with Mono 3.4.0.

Please, help me to compile Spire.Doc.

varlog
 
Posts: 1
Joined: Mon Jun 09, 2014 7:34 am

Tue Jun 10, 2014 6:19 am

Hello,

Our product is functional in platforms such as .NET, WPF and Silverlight. And it doesn’t support Xamarin using Mono at present.
We are very sorry.
If you get any questions, welcome to get it back to us.

Regards,
Benjamin
E-iceblue support team
User avatar

Benjamin Du
 
Posts: 82
Joined: Thu Jul 25, 2013 2:38 am

Return to Spire.Doc