-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DocX for Unity / iOS #428
Comments
Hello, I invite you to try it here : https://xceed.com/en/our-products/product/words-for-net Thank you. |
@MattBell96 any updates? |
hi, |
Unity does not support .NET5/6: https://docs.unity3d.com/2021.3/Documentation/Manual/dotnetProfileSupport.html It depends on 'WindowsBase.dll' which is not available on iOS/macOS etc. |
Ok, We'll have to test, but this product is mainly built for Windows. |
Hi there, I am developing an application for unity3D using docX. My application works just fine in the unity editor.
But when I try to build it (Targeting iOS) it does not build. It gives me:
ArgumentException: The Assembly WindowsBase is referenced by Xceed.Document.NET ('Assets/Plugins/Xceed.Document.NET.dll'). But the dll is not allowed to be included or could not be found.
I then add WindowsBase.dll to my plugins folder to get past this. But get this:
Loading assembly failed: "Assets/Plugins/WindowsBase.dll" reason: File does not contain a valid CIL image
Despite this Error I am able to build to iOS. However when I run the app and try to create a new document i get this in Xcode:
NullReferenceException: Object reference not set to an instance of an object.
at System.IO.Packaging.Package.Open (System.IO.Stream stream, System.IO.FileMode packageMode, System.IO.FileAccess packageAccess) [0x00000] in <00000000000000000000000000000000>:0
at Xceed.Document.NET.Document.PrepareDocument (Xceed.Document.NET.Document& document, Xceed.Document.NET.DocumentTypes documentType) [0x00000] in <00000000000000000000000000000000>:0
at Xceed.Words.NET.DocX.Create (System.String filename, Xceed.Document.NET.DocumentTypes documentType) [0x00000] in <00000000000000000000000000000000>:0
Any help would really be appreciated.
The text was updated successfully, but these errors were encountered: