I am trying to get DocX working on iOS with Xamarin.iOS SDK.
As you may or may not know, Xamarin.iOS is a way of developing apps in C# and .NET for, iPhone and iPad. They use (parts of) Mono as opensource replacement for the .Net SDK.
Xamarin.iOS is missing some basic .NET implementations that are required by DocX:
The first 3 are fairly easy to write replacements for, their use in DocX is limited.
System.IO.Packaging proved much more difficult. This is entirely missing from Xamarin.iOS.
I have used downloads from Mono and even reference source of .NET (4.6) to add all System.IO.Packaging code to my project. System.IO.Packaging relies on System.IO.Compression, and that is available in the Xamarin.iOS SDK. I even get to to point where my project
compiles without errors. But I cannot get it to run on Simulator or Device due to exceptions. Without going into much detail, it all boils down to the fact that System.IO.Packaging behaves differently than what DocX expects, or that System.IO.Compression behaves
differently than what System.IO.Packaging expects.
Has anyone tried to get DocX working on an iPad or iPhone (or Android) with via the Xamarin route? And has insights to share?
Can DocX somehow be decoupled from System.IO.Packaging ? Are there replacement implementations for the packaging code?
In the mean time I have written dummy classes for all the missing parts that DocX requires in System.IO.Packaging, now I am trying to fill in the empty parts. But I hate to rewrite all that code.
Anyone out there who solved this problem?