Word OpenXml Word Found Unreadable Content
问题 We are trying to manipulate a word document to remove a paragraph based on certain conditions. But the word file produced always ends up being corrupted when we try to open it with the error: Word found unreadable content The below code corrupts the file but if we remove the line: Document document = mdp.Document; The the file is saved and opens without issue. Is there an obvious issue that I am missing? var readAllBytes = File.ReadAllBytes(@"C:\Original.docx"); using (var stream = new