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

Mono Support #261

Open
Herz3h opened this Issue Nov 27, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@Herz3h

Herz3h commented Nov 27, 2018

Hello I'm tryign to run the documentBuilder01 on Ubuntu with Mono 5.16, and it failed with CheckIsReadOnly(), here is the Stacktrace :

System.IO.Packaging.Package.CheckIsReadOnly() in 
System.IO.Packaging.Package.CreatePart(System.Uri partUri, string contentType, System.IO.Packaging.CompressionOption compressionOption) in 
DocumentFormat.OpenXml.Packaging.OpenXmlPackage.CreateMetroPart(System.Uri partUri, string contentType) in 
DocumentFormat.OpenXml.Packaging.OpenXmlPart.CreateInternal(DocumentFormat.OpenXml.Packaging.WordprocessingDocument openXmlPackage, DocumentFormat.OpenXml.Packaging.OpenXmlPart parent, string contentType, string targetExt) in 
DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer.InitPart<DocumentFormat.OpenXml.Packaging.CoreFilePropertiesPart>(DocumentFormat.OpenXml.Packaging.CoreFilePropertiesPart newPart, string contentType, string id) in 
DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer.InitPart<DocumentFormat.OpenXml.Packaging.CoreFilePropertiesPart>(DocumentFormat.OpenXml.Packaging.CoreFilePropertiesPart newPart, string contentType) in 
DocumentFormat.OpenXml.Packaging.WordprocessingDocument.AddCoreFilePropertiesPart() in 
OpenXmlPowerTools.DocumentBuilder.CopyStartingParts(DocumentFormat.OpenXml.Packaging.WordprocessingDocument sourceDocument, DocumentFormat.OpenXml.Packaging.WordprocessingDocument newDocument, System.Collections.Generic.List<OpenXmlPowerTools.ImageData> images) in 
OpenXmlPowerTools.DocumentBuilder.BuildDocument(System.Collections.Generic.List<OpenXmlPowerTools.Source> sources, DocumentFormat.OpenXml.Packaging.WordprocessingDocument output) in 
OpenXmlPowerTools.DocumentBuilder.BuildDocument(System.Collections.Generic.List<OpenXmlPowerTools.Source> sources, string fileName) in 
MergeHeaderAndDocument.MainClass.Main(string[] args) in /home/jpldev/Projects/merge/merge/Program.cs:32

Then I tried to bundle the generated executable using mkbundle and I get the following error :

ERROR: Unable to load assembly `Microsoft.Management.Infrastructure' referenced by 
`/home/jpldev/Projects/merge/merge/bin/Debug/System.Management.Automation.dll'

So does this work on Windows only ? Or can it run on Linux ?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment